Metoda Playback.GetCorePropertyProvider —
Pobiera dostawca podstawowe właściwości dla formantu interfejsu użytkownika.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITesting
Zestaw: Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)
Składnia
'Deklaracja
Public Shared Function GetCorePropertyProvider ( _
uiControl As UITestControl _
) As UITestPropertyProvider
public static UITestPropertyProvider GetCorePropertyProvider(
UITestControl uiControl
)
public:
static UITestPropertyProvider^ GetCorePropertyProvider(
UITestControl^ uiControl
)
static member GetCorePropertyProvider :
uiControl:UITestControl -> UITestPropertyProvider
public static function GetCorePropertyProvider(
uiControl : UITestControl
) : UITestPropertyProvider
Parametry
- uiControl
Typ: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Sterowania interfejsem użytkownika, dla którego ma być uzyskane dostawca podstawowe właściwości.
Wartość zwracana
Typ: Microsoft.VisualStudio.TestTools.UITesting.UITestPropertyProvider
Dostawca właściwości core sterowania interfejsem użytkownika.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..