AssertAction Oluşturucu (UITechnologyElement, String, String, AssertCondition, Type)
Yeni bir örneğini başlatır AssertAction sınıfa
Ad alanı: Microsoft.VisualStudio.TestTools.UITest.Common
Derleme: Microsoft.VisualStudio.TestTools.UITest.Common (Microsoft.VisualStudio.TestTools.UITest.Common.dll içinde)
Sözdizimi
'Bildirim
Public Sub New ( _
uiElement As UITechnologyElement, _
propertyName As String, _
expectedValue As String, _
propertyCondition As AssertCondition, _
type As Type _
)
public AssertAction(
UITechnologyElement uiElement,
string propertyName,
string expectedValue,
AssertCondition propertyCondition,
Type type
)
public:
AssertAction(
UITechnologyElement^ uiElement,
String^ propertyName,
String^ expectedValue,
AssertCondition propertyCondition,
Type^ type
)
new :
uiElement:UITechnologyElement *
propertyName:string *
expectedValue:string *
propertyCondition:AssertCondition *
type:Type -> AssertAction
public function AssertAction(
uiElement : UITechnologyElement,
propertyName : String,
expectedValue : String,
propertyCondition : AssertCondition,
type : Type
)
Parametreler
- uiElement
Tür: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
AUITechnologyElement.
- propertyName
Tür: System.String
Özelliğin adı.
- expectedValue
Tür: System.String
Beklenen değer bir dize özellik.
- propertyCondition
Tür: Microsoft.VisualStudio.TestTools.UITest.Common.AssertCondition
Üye AssertCondition numaralandırma.
- type
Tür: System.Type
A Type türünü gösterirözelliği değeri.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.