IMetaDataImport::GetMemberProps method (rometadataapi.h)
Gets metadata information, including the name, binary signature, and relative virtual address, of the Type member referenced by the specified metadata token.
Syntax
HRESULT GetMemberProps(
[in] mdToken tkMember,
[out] mdTypeDef *ptkTypeDef,
[out] LPWSTR szMember,
[in] ULONG cchMember,
[out] ULONG *pchMember,
[out] DWORD *pdwAttr,
[out] PCCOR_SIGNATURE *ppvSigBlob,
[out] ULONG *pcbSigBlob,
[out] ULONG *pulCodeRVA,
[out] DWORD *pdwImplFlags,
[out] DWORD *pdwCPlusTypeFlag,
[out] UVCP_CONSTANT *ppValue,
[out] ULONG *pcchValue
);
Parameters
[in] tkMember
The token that references the member to get the associated metadata for.
[out] ptkTypeDef
A pointer to the metadata token that represents the class of the member.
[out] szMember
The name of the member.
[in] cchMember
The size in wide characters of the szMember buffer.
[out] pchMember
The size in wide characters of the returned name.
[out] pdwAttr
Any flag values applied to the member.
[out] ppvSigBlob
A pointer to the binary metadata signature of the member.
[out] pcbSigBlob
The size in bytes of ppvSigBlob.
[out] pulCodeRVA
A pointer to the relative virtual address of the member.
[out] pdwImplFlags
Any method implementation flags associated with the member.
[out] pdwCPlusTypeFlag
A flag that marks a ValueType.
[out] ppValue
A constant string value returned by this member.
[out] pcchValue
The size in characters of ppValue, or zero if ppValue does not hold a string.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | rometadataapi.h |