ValidationAction 생성자 (UITechnologyElement, String, String)
제공된 요소, 속성 이름 및 속성 값을 사용하여 ValidationAction 클래스의 새 인스턴스를 초기화합니다.
네임스페이스: Microsoft.VisualStudio.TestTools.UITest.Common
어셈블리: Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll)
구문
‘선언
Protected Sub New ( _
uiElement As UITechnologyElement, _
propertyName As String, _
expectedValue As String _
)
protected ValidationAction(
UITechnologyElement uiElement,
string propertyName,
string expectedValue
)
protected:
ValidationAction(
UITechnologyElement^ uiElement,
String^ propertyName,
String^ expectedValue
)
new :
uiElement:UITechnologyElement *
propertyName:string *
expectedValue:string -> ValidationAction
protected function ValidationAction(
uiElement : UITechnologyElement,
propertyName : String,
expectedValue : String
)
매개 변수
- uiElement
형식: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
UITechnologyElement 개체로 표시되는 UI 요소입니다.
- propertyName
형식: System.String
유효성을 검사할 속성의 이름입니다.
- expectedValue
형식: System.String
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.