Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMetaDataImport::GetTypeSpecFromToken method

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

Syntax


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

Parameters

tkTypeSpec [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.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataImport

 

 

Show: