UITestPropertyProvider.GetPropertyDescriptor 메서드

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

네임스페이스:  Microsoft.VisualStudio.TestTools.UITesting
어셈블리:  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

매개 변수

반환 값

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

.NET Framework 보안

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

참고 항목

참조

UITestPropertyProvider 클래스

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

UITestPropertyDescriptor

기타 리소스

Enable Coded UI Testing of Your Controls