IMetaDataImport::GetTypeSpecFromToken Method

Gets the binary metadata signature of the type specification represented by the specified token.

HRESULT GetTypeSpecFromToken ( 
    mdTypeSpec            typespec, 
    PCCOR_SIGNATURE       *ppvSig, 
    ULONG                 *pcbSig
);

Parameters

Parameter Description

typespec

[in] The TypeSpec token associated with the requested metadata signature.

ppvSig

[out] A pointer to the binary metadata signature.

pcbSig

[out] The size in bytes of the metadata signature.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Included as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

IMetaDataImport Interface
IMetaDataImport2 Interface