Playback.GetCorePropertyProvider 方法
取得 UI 控制項的核心屬性提供者。
命名空間: Microsoft.VisualStudio.TestTools.UITesting
組件: Microsoft.VisualStudio.TestTools.UITesting (在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
語法
'宣告
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
參數
- uiControl
型別:Microsoft.VisualStudio.TestTools.UITesting.UITestControl
要取得其核心屬性提供者的 UI 控制項。
傳回值
型別:Microsoft.VisualStudio.TestTools.UITesting.UITestPropertyProvider
UI 控制項的核心屬性提供者。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。