ITcTypeInstance6::TypeFormatPreview
Returns the preview text for 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 TypeFormatPreview(ULONG idx, BSTR* pPreview);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
idx |
ULONG |
[in] 0-based format index. |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
pPreview |
BSTR* |
[out, retval] Preview text for the format. |
|
(HRESULT) |
HRESULT |
|
Error codes
-
E_POINTER:pPreviewisNULL. -
ADS_E_INVALIDARRAYIDX:idxis outside the range of available formats.
See also
- TypeFormatName