IDispatchImplType 列舉

定義

警告

此 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
繼承
IDispatchImplType
屬性

欄位

CompatibleImpl 2

指定 IDispatch 實作是藉由將物件類型資訊傳遞給 COM CreateStdDispatch API 方法所提供。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.

備註

如需詳細資訊,請參閱 IDispatchImplAttributeSee IDispatchImplAttribute for more information.

適用於