IMetaDataAssemblyImport::GetExportedTypeProps method (rometadataapi.h)
Gets the set of properties of the exported type with the specified metadata signature.
Syntax
HRESULT GetExportedTypeProps(
[in] mdExportedType mdct,
[out] LPWSTR szName,
[in] ULONG cchName,
[out] ULONG *pchName,
[out] mdToken *ptkImplementation,
[out] mdTypeDef *ptkTypeDef,
[out] DWORD *pdwExportedTypeFlags
);
Parameters
[in] mdct
An mdExportedType metadata token that represents the exported type.
[out] szName
The name of the exported type.
[in] cchName
The size, in wide characters, of szName.
[out] pchName
The number of wide characters actually returned in szName.
[out] ptkImplementation
An mdFile, mdAssemblyRef, or mdExportedType metadata token that contains or allows access to the properties of the exported type.
[out] ptkTypeDef
A pointer to an mdTypeDef token that represents a type in the file.
[out] pdwExportedTypeFlags
A pointer to the flags that describe the metadata applied to the exported type. The flags value can be one or more CorTypeAttr values.
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 |