Freigeben über


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.
  • 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)

Other Resources

IALink Interface
IALink2 Interface