IDispatchImplType Enum

Definition

Warning

This API is now obsolete.

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

public enum class IDispatchImplType
[System.Serializable]
public enum IDispatchImplType
[System.Obsolete("The IDispatchImplAttribute is deprecated.", false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum IDispatchImplType
type IDispatchImplType = 
Public Enum IDispatchImplType
Inheritance
IDispatchImplType
Attributes

Fields

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 1

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

SystemDefinedImpl 0

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

Remarks

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

Applies to