SilverlightControl.GetPropertyAsString Method
Gets the value of the specified property as a string.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)
Syntax
'Declaration
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
Parameters
- propertyName
Type: System.String
The name of the property to get.
Return Value
Type: System.String
A String that represents the value of the property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls Namespace