AutomationPeer.ListenerExists(AutomationEvents) メソッド

定義

クライアントが指定したイベントをリッスンしていることを Microsoft UI オートメーションが報告するかどうかを示す値を取得します。

public:
 static bool ListenerExists(AutomationEvents eventId);
 static bool ListenerExists(AutomationEvents const& eventId);
public static bool ListenerExists(AutomationEvents eventId);
function listenerExists(eventId)
Public Shared Function ListenerExists (eventId As AutomationEvents) As Boolean

パラメーター

eventId
AutomationEvents

列挙値の 1 つ。

戻り値

Boolean

bool

Microsoft UI Automation が、クライアントが指定したイベントをリッスンしていることを報告する場合は true。それ以外の場合は false

適用対象