Share via


UITestControl.GetProperty 方法

命名空間:  Microsoft.VisualStudio.TestTools.UITesting
組件:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (在 Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll 中)
  Microsoft.VisualStudio.TestTools.UITesting (在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)

語法

'宣告
Public Function GetProperty ( _
    propertyName As String _
) As Object
public Object GetProperty(
    string propertyName
)
public:
Object^ GetProperty(
    String^ propertyName
)
member GetProperty : 
        propertyName:string -> Object
public function GetProperty(
    propertyName : String
) : Object

參數

  • propertyName
    類型:String

傳回值

類型:Object

.NET Framework 安全性

請參閱

參考

UITestControl 類別

Microsoft.VisualStudio.TestTools.UITesting 命名空間