IMetaDataImport::GetSigFromToken method (rometadataapi.h)

Gets the binary metadata signature associated with the specified token.

Syntax

HRESULT GetSigFromToken(
  [in]  mdSignature     tkSignature,
  [out] PCCOR_SIGNATURE *ppvSig,
  [out] ULONG           *pcbSig
);

Parameters

[in] tkSignature

The token to return the binary metadata signature for.

[out] ppvSig

A pointer to the returned metadata signature.

[out] pcbSig

The size in bytes of the binary metadata signature.

Return value

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

Requirements

Requirement Value
Target Platform Windows
Header rometadataapi.h

See also

IMetaDataImport