IMetaDataImport2::GetMethodSpecProps Method

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

HRESULT GetMethodSpecProps (
   [in]  mdMethodSpec     mi,
   [out] mdToken          *tkParent,
   [out] PCCOR_SIGNATURE  *ppvSigBlob, 
   [out] ULONG            *pcbSigBlob
); 

Parameters

  • 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: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

IMetaDataImport2 Interface

IMetaDataImport Interface