Share via


IMetaDataImport::GetMemberRefProps Method

Gets metadata associated with the member referenced by the specified token.

HRESULT GetMemberRefProps (
   [in]  mdMemberRef       mr, 
   [out] mdToken           *ptk, 
   [out] LPWSTR            szMember, 
   [in]  ULONG             cchMember, 
   [out] ULONG             *pchMember, 
   [out] PCCOR_SIGNATURE   *ppvSigBlob, 
   [out] ULONG             *pbSig 
);

Parameters

  • mr
    [in] The MemberRef token to return associated metadata for.

  • ptk
    [out] A TypeDef or TypeRef, or TypeSpec token that represents the class that declares the member, or a ModuleRef token that represents the module class that declares the member, or a MethodDef that represents the member.

  • szMember
    [out] A string buffer for the member's name.

  • cchMember
    [in] The requested size in wide characters of szMember.

  • pchMember
    [out] The returned size in wide characters of szMember.

  • ppvSibBlob
    [out] A pointer to the binary metadata signature for the member.

  • pbSig
    [out] The size in bytes of ppvSigBlob.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Included 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, 1.1, 1.0

See Also

Reference

IMetaDataImport Interface

IMetaDataImport2 Interface