Share via


IMetaDataImport::GetTypeSpecFromToken Method

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

HRESULT GetTypeSpecFromToken ( 
      [in]  mdTypeSpec            typespec, 
      [out] PCCOR_SIGNATURE       *ppvSig, 
      [out] ULONG                 *pcbSig
);

Parameters

  • 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

Concepts

IMetaDataImport Interface

IMetaDataImport2 Interface