ExportedType structure containing metadata for the specified exported type, and returns the associated metadata token.
HRESULT DefineExportedType ( [in] LPCWSTR szName, [in] mdToken tkImplementation, [in] mdTypeDef tkTypeDef, [in] DWORD dwExportedTypeFlags, [out] mdExportedType *pmdct );
[in] The name of type to be exported. For version 1.1 of the common language runtime, the name of the exported type must exactly match the name given in the
TypeDef for the type.
[in] A token specifying where the exported type is implemented. The valid values and their associated meanings are:
mdFileThe type is implemented in a different file within this assembly.
mdAssemblyRefThe type is implemented in a different assembly.
mdExportedTYpeThe type is nested within some other type.
mdFileNilThe type is in the same file as the manifest and is not a nested type.
[in] A token to the metadata that specifies the type to be exported. This value is entered in the
TypeDef table in the file that implements the type and is relevant only if that file is in this assembly.
[in] A bitwise combination of CorTypeAttr enumeration values that define the property settings for the exported type.
[out] A pointer to the returned metadata token that indicates the exported type.
ExportedType metadata structure must be defined for each type that is exposed by this assembly and that is implemented in a module other than the one containing the manifest.
Platform: See System Requirements.
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0