Windows apps
Collapse the table of content
Expand the table of content
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.

IMetaDataImport2::GetMethodSpecProps method

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

Syntax


HRESULT GetMethodSpecProps(
  [in]                          mdMethodSpec    mi,
  [out]                         mdToken         *tkParent,
  [out, size_is(, *pcbSigBlob)] 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.

Return value

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

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataImport2

 

 

Show:
© 2017 Microsoft