ClientSideProviderDescription コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ClientSideProviderDescription クラスの新しいインスタンスを初期化します。
オーバーロード
ClientSideProviderDescription(ClientSideProviderFactoryCallback, String)
ClientSideProviderDescription クラスの新しいインスタンスを初期化します。
public:
ClientSideProviderDescription(System::Windows::Automation::ClientSideProviderFactoryCallback ^ clientSideProviderFactoryCallback, System::String ^ className);
public ClientSideProviderDescription(System.Windows.Automation.ClientSideProviderFactoryCallback clientSideProviderFactoryCallback, string className);
new System.Windows.Automation.ClientSideProviderDescription : System.Windows.Automation.ClientSideProviderFactoryCallback * string -> System.Windows.Automation.ClientSideProviderDescription
Public Sub New (clientSideProviderFactoryCallback As ClientSideProviderFactoryCallback, className As String)
パラメーター
- clientSideProviderFactoryCallback
- ClientSideProviderFactoryCallback
ウィンドウのクライアント側プロバイダーを作成するメソッド。
- className
- String
プロバイダーが使用されるウィンドウのクラス名。
例
コード例については、「Client-Side UI オートメーション プロバイダーの作成を参照してください。
注釈
UI オートメーションがクラス className のウィンドウを検出すると、clientSideProviderFactoryCallback を呼び出してクライアント側プロバイダーのインスタンスを作成します。
classNameがnullされている場合、他のプロバイダーが見つからないすべてのウィンドウにプロバイダーが使用されます。
こちらもご覧ください
適用対象
ClientSideProviderDescription(ClientSideProviderFactoryCallback, String, String, ClientSideProviderMatchIndicator)
ClientSideProviderDescription クラスの新しいインスタンスを初期化します。
public:
ClientSideProviderDescription(System::Windows::Automation::ClientSideProviderFactoryCallback ^ clientSideProviderFactoryCallback, System::String ^ className, System::String ^ imageName, System::Windows::Automation::ClientSideProviderMatchIndicator flags);
public ClientSideProviderDescription(System.Windows.Automation.ClientSideProviderFactoryCallback clientSideProviderFactoryCallback, string className, string imageName, System.Windows.Automation.ClientSideProviderMatchIndicator flags);
new System.Windows.Automation.ClientSideProviderDescription : System.Windows.Automation.ClientSideProviderFactoryCallback * string * string * System.Windows.Automation.ClientSideProviderMatchIndicator -> System.Windows.Automation.ClientSideProviderDescription
Public Sub New (clientSideProviderFactoryCallback As ClientSideProviderFactoryCallback, className As String, imageName As String, flags As ClientSideProviderMatchIndicator)
パラメーター
- clientSideProviderFactoryCallback
- ClientSideProviderFactoryCallback
ウィンドウのクライアント側プロバイダーを作成するメソッド。
- className
- String
プロバイダーが使用されるウィンドウのクラス名。
- imageName
- String
ウィンドウが存在するプロセスの実行可能ファイルまたは DLL の名前。
ウィンドウ クラス名の照合時の動作を指定するフラグ。
注釈
UI オートメーションは、className で指定されたプロセス内でクラス imageName のウィンドウを検出すると、clientSideProviderFactoryCallback を呼び出してクライアント側プロバイダーのインスタンスを作成します。
classNameがnullされている場合、他のプロバイダーが見つからないすべてのウィンドウにプロバイダーが使用されます。
imageNameがnull場合、プロバイダーはウィンドウ クラスを含むすべてのプロセスに使用されます。