UITestPropertyProvider.GetPropertyValue 메서드

파생 클래스에서 재정의하는 경우 지정된 컨트롤에서 지정된 속성 값을 반환합니다.

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

구문

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

매개 변수

반환 값

형식: System.Object
지정된 컨트롤의 지정된 속성 값입니다.

.NET Framework 보안

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

참고 항목

참조

UITestPropertyProvider 클래스

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

UITestControl

기타 리소스

Enable Coded UI Testing of Your Controls