Freigeben über


IMetaDataEmit::GetTokenFromTypeSpec Method

Gets a metadata token for the type with the specified metadata signature.

HRESULT GetTokenFromTypeSpec ( 
    [in]  PCCOR_SIGNATURE       pvSig, 
    [in]  ULONG                 cbSig, 
    [out] mdTypeSpec            *ptypespec 
);

Parameters

Parameter Description

pvSig

[in] The signature being defined.

cbSig

[in] The count of bytes in pvSig.

ptypespec

[out] The mdTypeSpec token assigned.

Requirements

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

Header: Cor.h

Library: Used as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

IMetaDataEmit Interface
IMetaDataEmit2 Interface