AxHost.ActiveXInvokeKind AxHost.ActiveXInvokeKind AxHost.ActiveXInvokeKind AxHost.ActiveXInvokeKind Enum

定义

指定对处于无效状态的 ActiveX 控件进行引用的成员类型。Specifies the type of member that referenced the ActiveX control while it was in an invalid state.

public: enum class AxHost::ActiveXInvokeKind
public enum AxHost.ActiveXInvokeKind
type AxHost.ActiveXInvokeKind = 
Public Enum AxHost.ActiveXInvokeKind
继承
AxHost.ActiveXInvokeKindAxHost.ActiveXInvokeKindAxHost.ActiveXInvokeKindAxHost.ActiveXInvokeKind

字段

MethodInvoke MethodInvoke MethodInvoke MethodInvoke 0

引用 ActiveX 控件的方法。A method referenced the ActiveX control.

PropertyGet PropertyGet PropertyGet PropertyGet 1

引用 ActiveX 控件的属性的 get 访问器。The get accessor of a property referenced the ActiveX control.

PropertySet PropertySet PropertySet PropertySet 2

引用 ActiveX 控件的属性的 set 访问器。The set accessor of a property referenced the ActiveX control.

示例

异常使用AxHost.InvalidActiveXStateException枚举来指定在 ActiveX 控件处于无效状态时引用该控件的成员的类型。 AxHost.ActiveXInvokeKindThe AxHost.ActiveXInvokeKind enumeration is used by the AxHost.InvalidActiveXStateException exception to specify the type of member that referenced the ActiveX control while it was an invalid state.

适用于

另请参阅