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.

IMetaDataImport::GetMemberRefProps method

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

Syntax


HRESULT GetMemberRefProps(
  [in]                                             mdMemberRef     tkMemberRef,
  [out]                                            mdToken         *ptk,
  [out, size_is(cchMember), length_is(*pchMember)] LPWSTR          szMember,
  [in]                                             ULONG           cchMember,
  [out]                                            ULONG           *pchMember,
  [out, size_is(, *pcbSigBlob)]                    PCCOR_SIGNATURE *ppvSigBlob,
  [out]                                            ULONG           *pcbSigBlob
);

Parameters

tkMemberRef [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.

ppvSigBlob [out]

A pointer to the binary metadata signature for the member.

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

IMetaDataImport

 

 

Show:
© 2017 Microsoft