다음을 통해 공유


UITestPropertyProvider.GetPropertyForAction 메서드

파생 클래스에서 재정의된 경우 지정된 컨트롤에서 지정된 작업에 의해 사용되는 속성의 이름을 반환합니다.

네임스페이스:  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 GetPropertyForAction ( _
    uiTestControl As UITestControl, _
    action As UITestAction _
) As String
public abstract string GetPropertyForAction(
    UITestControl uiTestControl,
    UITestAction action
)
public:
virtual String^ GetPropertyForAction(
    UITestControl^ uiTestControl, 
    UITestAction^ action
) abstract
abstract GetPropertyForAction : 
        uiTestControl:UITestControl * 
        action:UITestAction -> string
public abstract function GetPropertyForAction(
    uiTestControl : UITestControl, 
    action : UITestAction
) : String

매개 변수

반환 값

형식: String
지정된 작업에 의해 사용되는 속성의 이름입니다.

.NET Framework 보안

참고 항목

참조

UITestPropertyProvider 클래스

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

UITestControl

UITestAction

기타 리소스

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