IMetaDataAssemblyEmit::SetExportedTypeProps 方法

修改指定的 ExportedType 元数据结构。

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

参数

  • ct
    [in] 指定要修改的 ExportedType 元数据结构的元数据标记。

  • tkImplementation
    [in] 类型为 FileAssemblyRefExportedType 的标记,指定此类型的实现方式。

  • tkTypeDef
    [in] 代码文件中引用的 TypeDef 标记。

  • dwExportedTypeFlags
    [in] 值的按位组合,这些值指定类型的特性。

备注

若要创建 ExportedType 元数据结构,请使用 IMetaDataAssemblyEmit::DefineExportedType 方法。

要求

**平台:**请参见 .NET Framework 系统要求

**头文件:**Cor.h

**库:**在 MsCorEE.dll 中用作资源

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0

请参见

参考

IMetaDataAssemblyEmit 接口