SilverlightControl.GetPropertyAsString 方法

获取指定属性的字符形式的值。

命名空间:  Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight(在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll 中)

语法

声明
Public Overridable Function GetPropertyAsString ( _
    propertyName As String _
) As String
public virtual string GetPropertyAsString(
    string propertyName
)
public:
virtual String^ GetPropertyAsString(
    String^ propertyName
)
abstract GetPropertyAsString : 
        propertyName:string -> string 
override GetPropertyAsString : 
        propertyName:string -> string 
public function GetPropertyAsString(
    propertyName : String
) : String

参数

  • propertyName
    类型:System.String
    要获取的属性的名称。

返回值

类型:System.String
一个 String 它表示属性的值。

.NET Framework 安全性

请参见

参考

SilverlightControl 类

Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls 命名空间