API | ITcTypeInstance Error codes E_POINTER : pName is NULL . ADS_E_INVALIDARRAYIDX : idx is not in the list of constants. See also NamedConstantValue 5.9.6.2 ITcTypeInstance7::NamedConstantValue | ITcTypeInstance7::NamedConstantValue Returns the binary value of the named constant to idx as a byte SAFEARRAY . For alias types that do not have their own constants, the behavior is delegated to the base type. Signature HRESULT NamedConstantValue(ULONG idx, VARIANT* pvData); Parameter Return value Error codes E_POINTER : pvData is NULL . ADS_E_INVALIDARRAYIDX : idx is not in the list of constants. See also NamedConstantName 5.9.7 ITcTypeInstance8 | ITcTypeInstance8 Inherits from:
ITcTypeInstance7 Expanded by: ITcTypeInstance9 ITcTypeInstance8 adds the export of language resources of a specific type. The export uses the same XML format as the standard export, but also includes an additional Translations node. Methods 5.9.7.1 ITcTypeInstance8::ExportTranslationsXml | ITcTypeInstance8::ExportTranslationsXml Creates a TcModuleClass document with Translations nodes and serializes the translation texts of that type. During a recursive export, translated texts for dependent data types are also generated. TE1000 87 Version: 1.7.0 Name Type Description idx ULONG [in] 0-based constant index.
Name Type Description pvData VARIANT* [out, retval] Byte SAFEARRAY containing the constant value. (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Method Description ExportTranslationsXml Exports translations of this type as XML.