Partilhar 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 token that represents the class that declares 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

IMetaDataImport Interface

IMetaDataImport2 Interface