Share via


IMetaDataImport::GetMemberProps Method

Gets metadata information, including the name, binary signature, and relative virtual address, of the Type member referenced by the specified metadata token.

HRESULT GetMemberProps (
      [in]  mdToken           mb, 
      [out] mdTypeDef         *pClass,
      [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

  • mb
    [in] The token that references the member to get the associated metadata for.

  • pClass
    [out] A pointer to the metadata token that represents the class of the member.

  • szMember
    [out] The name of the member.

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

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

  • pdwAttr
    [out] Any flag values applied to the member.

  • ppvSigBlob
    [out] A pointer to the binary metadata signature of the member.

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

  • pulCodeRVA
    [out] A pointer to the relative virtual address of the member.

  • pdwImplFlags
    [out] Any method implementation flags associated with the member.

  • pdwCPlusTypeFlag
    [out] A flag that marks a ValueType.

  • ppValue
    [out] A constant string value returned by this member.

  • pcchValue
    [out] The size in characters of ppValue, or zero if ppValue does not hold a string.

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