UITestPropertyProvider.GetPropertyForControlState Yöntem
Türetilmiş bir sınıfta geçersiz olduğunda, bir dizi özellik adları ve verilen denetim için belirtilen denetim durumu değerle eşleşen tüm durum değerler dizisini verir.
Ad alanı: Microsoft.VisualStudio.TestTools.UITesting
Derleme: Microsoft.VisualStudio.TestTools.UITesting (Microsoft.VisualStudio.TestTools.UITesting.dll içinde)
Sözdizimi
'Bildirim
Public MustOverride Function GetPropertyForControlState ( _
uiTestControl As UITestControl, _
uiState As ControlStates, _
<OutAttribute> ByRef stateValues As Boolean() _
) As String()
public abstract string[] GetPropertyForControlState(
UITestControl uiTestControl,
ControlStates uiState,
out bool[] stateValues
)
public:
virtual array<String^>^ GetPropertyForControlState(
UITestControl^ uiTestControl,
ControlStates uiState,
[OutAttribute] array<bool>^% stateValues
) abstract
abstract GetPropertyForControlState :
uiTestControl:UITestControl *
uiState:ControlStates *
stateValues:bool[] byref -> string[]
public abstract function GetPropertyForControlState(
uiTestControl : UITestControl,
uiState : ControlStates,
stateValues : boolean[]
) : String[]
Parametreler
- uiTestControl
Tür: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
A UITestControl denetim özellik adları alınacağı.
- uiState
Tür: Microsoft.VisualStudio.TestTools.UITest.Extension.ControlStates
Birini ControlStates değerler.
- stateValues
Tür: array<System.Boolean[]%
(Çıkış) İade edilen özellikleri Boolean değerleri dizisi.
Dönüş Değeri
Tür: array<System.String[]
Belirtilen denetim durumu değerle eşleşen özellik adları verilen denetim dizisi.
.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üvenilen kod kitaplıklarını kullanma.
Ayrıca bkz.
Başvuru
Microsoft.VisualStudio.TestTools.UITesting Ad Alanı