IDispatchImplType IDispatchImplType IDispatchImplType IDispatchImplType Enum

定义

警告

此 API 现已过时。

指示将用于特定类的 IDispatch 实现。Indicates which IDispatch implementation to use for a particular class.

public enum class IDispatchImplType
[System.Obsolete("The IDispatchImplAttribute is deprecated.", false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum IDispatchImplType
type IDispatchImplType = 
Public Enum IDispatchImplType
继承
IDispatchImplTypeIDispatchImplTypeIDispatchImplTypeIDispatchImplType
属性

字段

CompatibleImpl CompatibleImpl CompatibleImpl CompatibleImpl 2

指定通过向 COM CreateStdDispatch API 方法传递对象的类型信息来提供 IDispatch 实现。Specifies that the IDispatch implementation is supplied by passing the type information for the object to the COM CreateStdDispatch API method.

InternalImpl InternalImpl InternalImpl InternalImpl 1

指定由运行时提供 IDispatch 实现。Specifies that the IDispatch implementation is supplied by the runtime.

SystemDefinedImpl SystemDefinedImpl SystemDefinedImpl SystemDefinedImpl 0

指定公共语言运行时将决定要使用哪个 IDispatch 实现。Specifies that the common language runtime decides which IDispatch implementation to use.

注解

有关更多信息,请参见IDispatchImplAttributeSee IDispatchImplAttribute for more information.

适用于