ExportNestedType Method
Specifies nested types as exportable. The ExportType Method can also export nested types, but this method is faster.
HRESULT ExportNestedType(
mdAssembly AssemblyID,
mdToken FileToken,
mdTypeDef TypeToken,
mdExportedType ParentType,
LPCWSTR pszTypename,
DWORD dwFlags,
mdExportedType* pType
) PURE;
Parameters
- AssemblyID
ID of assembly to export from.
- FileToken
File token or Assembly of file that defines the type to be made exportable.
- TypeToken
Type token of type to be made exportable.
- ParentType
Token of parent type.
- pszTypename
Fully qualified type name to export.
- dwFlags
ComType
flags such astdPublic
ortdNested
. This value may be passed to IMetaDataAssemblyEmit::DefineExportedType Method.
- pType
Receives token for exported type.
Return Value
Returns S_OK if the method succeeds.
Requirements
Requires alink.h
See Also
Concepts
ALink API (Unmanaged API Reference)