Partilhar via


IMetaDataImport::GetMemberRefProps Method

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

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

Parameters

Parameter Description

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

Reference

IMetaDataImport Interface
IMetaDataImport2 Interface