다음을 통해 공유


UITestPropertyProvider.GetPropertyDescriptor 메서드

지정된 컨트롤의 지정된 속성에 대한 속성 설명자를 반환합니다.

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

구문

‘선언
Public MustOverride Function GetPropertyDescriptor ( _
    uiTestControl As UITestControl, _
    propertyName As String _
) As UITestPropertyDescriptor
public abstract UITestPropertyDescriptor GetPropertyDescriptor(
    UITestControl uiTestControl,
    string propertyName
)
public:
virtual UITestPropertyDescriptor^ GetPropertyDescriptor(
    UITestControl^ uiTestControl, 
    String^ propertyName
) abstract
abstract GetPropertyDescriptor : 
        uiTestControl:UITestControl * 
        propertyName:string -> UITestPropertyDescriptor
public abstract function GetPropertyDescriptor(
    uiTestControl : UITestControl, 
    propertyName : String
) : UITestPropertyDescriptor

매개 변수

  • propertyName
    형식: String

    속성 이름

반환 값

형식: Microsoft.VisualStudio.TestTools.UITesting.UITestPropertyDescriptor
요청된 속성 설명자입니다.

.NET Framework 보안

참고 항목

참조

UITestPropertyProvider 클래스

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

UITestPropertyDescriptor

기타 리소스

컨트롤의 코딩된 UI 테스트 사용