다음을 통해 공유


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 보안

참고 항목

참조

WinTable 클래스

Microsoft.VisualStudio.TestTools.UITesting.WinControls 네임스페이스