Partager via


IMetaDataAssemblyImport::GetExportedTypeProps Method

Gets the set of properties of the exported type with the specified metadata signature.

HRESULT GetExportedTypeProps (
    [in]  mdExportedType    mdct, 
    [out] LPWSTR            szName, 
    [in]  ULONG             cchName, 
    [out] ULONG             *pchName, 
    [out] mdToken           *ptkImplementation, 
    [out] mdTypeDef         *ptkTypeDef, 
    [out] DWORD             *pdwExportedTypeFlags
);

Parameters

  • mdct
    [in] An mdExportedType metadata token that represents the exported type.

  • szName
    [out] The name of the exported type.

  • cchName
    [in] The size, in wide characters, of szName.

  • pchName
    [out] The number of wide characters actually returned in szName

  • ptkImplementation
    [out] An mdFile, mdAssemblyRef, or mdExportedType metadata token that contains or allows access to the properties of the exported type.

  • ptkTypeDef
    [out] A pointer to an mdTypeDef token that represents a type in the file.

  • pdwExportedTypeFlags
    [out] A pointer to the flags that describe the metadata applied to the exported type. The flags value can be one or more CorTypeAttr values.

Requirements

Platform: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

IMetaDataAssemblyImport Interface