ITcTypeInstance6::TypeFormatName
Returns the name of the type format to idx. For alias types that do not have their own formats, the behavior is delegated to the base type.
Signature
HRESULT TypeFormatName(ULONG idx, BSTR* pName);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
idx |
ULONG |
[in] 0-based format index. |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
pName |
BSTR* |
[out, retval] Name of the format. |
|
(HRESULT) |
HRESULT |
|
Error codes
-
E_POINTER:pNameisNULL. -
ADS_E_INVALIDARRAYIDX:idxis outside the range of available formats.
See also
- TypeFormatPreview