Compartilhar 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

Platform: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

IMetaDataAssemblyEmit Interface