An NDoc Documented Class Library

Window.GetTopChild メソッド (Int32, Regex, Regex, Int32)

条件に合致する、配下の子Windowを返します。 合致する子Windowがない場合はnullを返します。

public static Window GetTopChild(
   int iProcessID,
   Regex rClass,
   Regex rText,
   int iSameNum
);

パラメータ

iProcessID
プロセスID
rClass
ウィンドウクラス名(正規表現)
rText
ウィンドウテキスト(正規表現)
iSameNum
ウィンドウクラス名・ウィンドウテキストがマッチした子Windowの中で何番目のWindowか

戻り値

条件に該当したWindow

参照

Window クラス | FNF.WindowController 名前空間 | Window.GetTopChild オーバーロードの一覧