An NDoc Documented Class Library

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

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

public static Window GetTopChild(
   int iProcessID,
   string sClass,
   string sText,
   int iSameNum
);

パラメータ

iProcessID
プロセスID
sClass
ウィンドウクラス名(nullですべてに一致)
sText
ウィンドウテキスト(nullですべてに一致)
iSameNum
ウィンドウクラス名・ウィンドウテキストが同一の子Windowの中で何番目のWindowか

戻り値

条件に該当したWindow

参照

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