WinTable.GetCell メソッド
セルが行と列番号に基づいて取得します。
名前空間: Microsoft.VisualStudio.TestTools.UITesting.WinControls
アセンブリ: Microsoft.VisualStudio.TestTools.UITesting (Microsoft.VisualStudio.TestTools.UITesting.dll 内)
構文
'宣言
Public Function GetCell ( _
rowIndex As Integer, _
columnIndex As Integer _
) As WinCell
public WinCell GetCell(
int rowIndex,
int columnIndex
)
public:
WinCell^ GetCell(
int rowIndex,
int columnIndex
)
member GetCell :
rowIndex:int *
columnIndex:int -> WinCell
public function GetCell(
rowIndex : int,
columnIndex : int
) : WinCell
パラメーター
- rowIndex
型 : System.Int32
セルの 0 から始まる行のインデックス。
- columnIndex
型 : System.Int32
セルの、0 から始まる列番号。
戻り値
型 : Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCell
セル オブジェクト。
解説
例: 2 時 5. で、セルを取得します。基づいてインデックスが 0 であることに注意してください。
WinCell のセル myTable.GetCell = (2, 5)
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。