ExportNestedTypeForwarder Method
Adds a type forwarder for a nested type to the type table of the given assembly.
Syntax
HRESULT ExportNestedTypeForwarder(
mdAssembly AssemblyID,
mdToken FileToken,
mdTypeDef TypeToken,
mdExportedType ParentType,
LPCWSTR pszTypename,
DWORD dwFlags,
mdExportedType* pType
) PURE;
Parameters
AssemblyID
ID of the assembly to export from.
FileToken
File token or assembly ID of file that defines the type.
TypeToken
Token for the type.
ParentType
Token of parent type.
pszTypename
Fully qualified type name to export.
dwFlags
ComType
flags such as tdPublic
or tdNested
.
pType
Receives token of export type. This is necessary only for emitting nested types.
Return Value
Returns S_OK if the method succeeds.
Requirements
Requires alink.h
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for