Partager via


IMetaDataImport2::GetMethodSpecProps Method

Gets the metadata signature of the method referenced by the specified MethodSpec token.

HRESULT GetMethodSpecProps (
    mdMethodSpec     mi,
    mdToken          *tkParent,
    PCCOR_SIGNATURE  *ppvSigBlob, 
    ULONG            *pcbSigBlob
); 

Parameters

Parameter Description

mi

[in] A MethodSpec token that represents the instantiation of the method.

tkParent

[out] A pointer to the MethodDef or MethodRef token that represents the method definition.

ppvSigBlob

[out] A pointer to the binary metadata signature of the method.

pcbSigBlob

[out] The size, in bytes, of ppvSigBlob.

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

See Also

Reference

IMetaDataImport2 Interface
IMetaDataImport Interface