다음을 통해 공유


UITestPropertyProvider.GetPredefinedSearchProperties 메서드

파생 클래스에서 재정의된 경우 관련 컨트롤에 미리 정의되어 있는 검색 속성이 들어 있는 문자열 배열을 가져옵니다.

네임스페이스:  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 GetPredefinedSearchProperties ( _
    specializedClass As Type _
) As String()
public abstract string[] GetPredefinedSearchProperties(
    Type specializedClass
)
public:
virtual array<String^>^ GetPredefinedSearchProperties(
    Type^ specializedClass
) abstract
abstract GetPredefinedSearchProperties : 
        specializedClass:Type -> string[] 
public abstract function GetPredefinedSearchProperties(
    specializedClass : Type
) : String[]

매개 변수

  • specializedClass
    형식: Type

반환 값

형식: array<String[]
관련 컨트롤에 사전 정의되어 있는 검색 속성이 있는 문자열 배열입니다.

.NET Framework 보안

참고 항목

참조

UITestPropertyProvider 클래스

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

기타 리소스

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