WpfRow.GetCell 메서드

셀 인덱스를 기반으로 셀을 가져옵니다.

네임스페이스:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
어셈블리:  Microsoft.VisualStudio.TestTools.UITesting(Microsoft.VisualStudio.TestTools.UITesting.dll)

구문

‘선언
Public Function GetCell ( _
    cellIndex As Integer _
) As WpfCell
public WpfCell GetCell(
    int cellIndex
)
public:
WpfCell^ GetCell(
    int cellIndex
)
member GetCell : 
        cellIndex:int -> WpfCell 
public function GetCell(
    cellIndex : int
) : WpfCell

매개 변수

  • cellIndex
    형식: System.Int32
    셀의 행에서 인덱스 0부터 시작.

반환 값

형식: Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfCell
Cell 개체입니다.

설명

예제: 셀을에 2를 가져옵니다.Note 해당 인덱스는 0부터 시작 합니다.

WpfCell 셀 = myRow.GetCell(2).

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

WpfRow 클래스

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