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
형식: Int32셀의 행 0부터 시작 인덱스입니다.
columnIndex
형식: Int32셀의 0부터 시작 하는 열의 인덱스입니다.
반환 값
형식: Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCell
Cell 개체입니다.
설명
예: Get 셀 2 5. Note 해당 인덱스는 0부터 시작 합니다.
WinCell 셀 = myTable.GetCell (2, 5).
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.
참고 항목
참조
Microsoft.VisualStudio.TestTools.UITesting.WinControls 네임스페이스