IDispatchImplType 枚举

注意:此枚举现在已过时。

指示对特定类使用何种 IDispatch 实现。

**命名空间:**System.Runtime.InteropServices
**程序集:**mscorlib(在 mscorlib.dll 中)

语法

声明
<SerializableAttribute> _
<ObsoleteAttribute("The IDispatchImplAttribute is deprecated.", False)> _
<ComVisibleAttribute(True)> _
Public Enumeration IDispatchImplType
用法
Dim instance As IDispatchImplType
[SerializableAttribute] 
[ObsoleteAttribute("The IDispatchImplAttribute is deprecated.", false)] 
[ComVisibleAttribute(true)] 
public enum IDispatchImplType
[SerializableAttribute] 
[ObsoleteAttribute(L"The IDispatchImplAttribute is deprecated.", false)] 
[ComVisibleAttribute(true)] 
public enum class IDispatchImplType
/** @attribute SerializableAttribute() */ 
/** @attribute ObsoleteAttribute("The IDispatchImplAttribute is deprecated.", false) */ 
/** @attribute ComVisibleAttribute(true) */ 
public enum IDispatchImplType
SerializableAttribute 
ObsoleteAttribute("The IDispatchImplAttribute is deprecated.", false) 
ComVisibleAttribute(true) 
public enum IDispatchImplType

成员

  成员名称 说明
CompatibleImpl 指定通过向 COM 的 CreateStdDispatch API 方法传递对象的类型信息来提供 IDispatch 实现。 
InternalImpl 指定由运行库提供 IDispatch 实现。 
SystemDefinedImpl 指定公共语言运行库将决定要使用哪个 IDispatch 实现。 

备注

有关更多信息,请参见 IDispatchImplAttribute

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:1.0、1.1
在 2.0 中过时(编译器警告)

请参见

参考

System.Runtime.InteropServices 命名空间