Delen via


IMetaDataAssemblyEmit::SetExportedTypeProps Method

Modifies the specified ExportedType metadata structure.

HRESULT SetExportedTypeProps (
    [in] mdExportedType   ct, 
    [in] mdToken          tkImplementation,
    [in] mdTypeDef        tkTypeDef,
    [in] DWORD            dwExportedTypeFlags
);

Parameters

  • ct
    [in] The metadata token that specifies the ExportedType metadata structure to be modified.

  • tkImplementation
    [in] The token, of type File, AssemblyRef, or ExportedType, that specifies how this type is implemented.

  • tkTypeDef
    [in] The TypeDef token referenced in the code file.

  • dwExportedTypeFlags
    [in] A bitwise combination of values that specify attributes of the type.

Remarks

To create an ExportedType metadata structure, use the IMetaDataAssemblyEmit::DefineExportedType method.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

IMetaDataAssemblyEmit Interface