Control.ControlAccessibleObject.NotifyClients 方法

定義

AccessibleEvents 告知可及性用戶端應用程式。Notifies accessibility client applications of AccessibleEvents.

多載

NotifyClients(AccessibleEvents)

將指定的 AccessibleEvents 告知可及性用戶端應用程式。Notifies accessibility client applications of the specified AccessibleEvents.

NotifyClients(AccessibleEvents, Int32)

將指定子控制項的指定 AccessibleEvents 告知協助工具用戶端應用程式。Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control.

NotifyClients(AccessibleEvents, Int32, Int32)

將指定子控制項的指定 AccessibleEvents 告知可及性用戶端應用程式,提供 AccessibleObject 的識別。Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control, giving the identification of the AccessibleObject.

NotifyClients(AccessibleEvents)

將指定的 AccessibleEvents 告知可及性用戶端應用程式。Notifies accessibility client applications of the specified AccessibleEvents.

public:
 void NotifyClients(System::Windows::Forms::AccessibleEvents accEvent);
public void NotifyClients (System.Windows.Forms.AccessibleEvents accEvent);
member this.NotifyClients : System.Windows.Forms.AccessibleEvents -> unit
Public Sub NotifyClients (accEvent As AccessibleEvents)

參數

accEvent
AccessibleEvents

要通知協助工具用戶端應用程式的 AccessibleEventsThe AccessibleEvents to notify the accessibility client applications of.

備註

您必須針對每NotifyClientsAccessibleEvents物件呼叫方法,協助工具用戶端應用程式會收到通知。You must call the NotifyClients method for each AccessibleEvents object the accessibility client applications are to be notified of. NotifyClients屬性是在事件處理常式中設定或時,通常會呼叫方法。The NotifyClients method is typically called when a property is set or from within an event handler. 例如,您NotifyClients可以呼叫方法,並HideControl.VisibleChanged事件的事件AccessibleEvents處理常式內傳入的值。For example, you might call the NotifyClients method and pass in an AccessibleEvents value of Hide from within the event handler for the Control.VisibleChanged event.

另請參閱

NotifyClients(AccessibleEvents, Int32)

將指定子控制項的指定 AccessibleEvents 告知協助工具用戶端應用程式。Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control.

public:
 void NotifyClients(System::Windows::Forms::AccessibleEvents accEvent, int childID);
public void NotifyClients (System.Windows.Forms.AccessibleEvents accEvent, int childID);
member this.NotifyClients : System.Windows.Forms.AccessibleEvents * int -> unit
Public Sub NotifyClients (accEvent As AccessibleEvents, childID As Integer)

參數

accEvent
AccessibleEvents

要通知協助工具用戶端應用程式的 AccessibleEventsThe AccessibleEvents to notify the accessibility client applications of.

childID
Int32

要通知協助工具事件的子 ControlThe child Control to notify of the accessible event.

備註

您必須針對每NotifyClientsAccessibleEvents物件呼叫方法,協助工具用戶端應用程式會收到通知。You must call the NotifyClients method for each AccessibleEvents object the accessibility client applications are to be notified of. NotifyClients屬性是在事件處理常式中設定或時,通常會呼叫方法。The NotifyClients method is typically called when a property is set or from within an event handler. 例如,您NotifyClients可以呼叫方法,並從Control.VisibleChanged事件的事件AccessibleEvents處理常式Hide內傳入的值。For example, you might call the NotifyClients method and pass in an AccessibleEvents value of Hide from within from within the event handler for the Control.VisibleChanged event.

另請參閱

NotifyClients(AccessibleEvents, Int32, Int32)

將指定子控制項的指定 AccessibleEvents 告知可及性用戶端應用程式,提供 AccessibleObject 的識別。Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control, giving the identification of the AccessibleObject.

public:
 void NotifyClients(System::Windows::Forms::AccessibleEvents accEvent, int objectID, int childID);
public void NotifyClients (System.Windows.Forms.AccessibleEvents accEvent, int objectID, int childID);
member this.NotifyClients : System.Windows.Forms.AccessibleEvents * int * int -> unit
Public Sub NotifyClients (accEvent As AccessibleEvents, objectID As Integer, childID As Integer)

參數

accEvent
AccessibleEvents

要通知協助工具用戶端應用程式的 AccessibleEventsThe AccessibleEvents to notify the accessibility client applications of.

objectID
Int32

AccessibleObject 的識別項。The identifier of the AccessibleObject.

childID
Int32

要通知協助工具事件的子 ControlThe child Control to notify of the accessible event.

適用於