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

S_OK if successful, otherwise an error code.

Error codes

See also