API | ITcTypeInstance ITcTypeInstance5 indicates which other type hides the current type. This is relevant for name conflicts and hidden-through resolution in the type system. Properties Methods (none) 5.9.5 ITcTypeInstance6 | ITcTypeInstance6 Inherits from: ITcTypeInstance5 Expanded by: ITcTypeInstance7 ITcTypeInstance6 adds runtime information for value representation and conversion. For alias types, formats and named constants can be transparently inherited from the base type. Properties Methods 5.9.5.1 ITcTypeInstance6::SetValueToString | ITcTypeInstance6::SetValueToString Parses text according to the specified format into the binary representation of the type.
If successful, a byte SAFEARRAY matching the size of the type is returned as VARIANT . Signature HRESULT SetValueToString(BSTR text, ULONG formatIdx, VARIANT* pvData); Parameter TE1000 83 Version: 1.7.0 Property Type get/set Description HiddenThrough GUID* get Returns the GUID of the type that is currently hiding this type. Property Type get/set Description ByteSize ULONG* get Returns the byte size of the type. TypeFormats ULONG* get Returns the number of type formats, which may be inherited from the base type. Method Description GetValueToString Formats a byte array as text according to a type format. SetValueToString Parses a text into a byte array according to a type format.
TypeFormatName Returns the name of a type format. TypeFormatPreview Returns the preview text for a type format. TypicalFormatCharCount Estimates the typical number of characters in the formatted output. Name Type Description text BSTR [in] Text representation to be parsed.