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

See Also

Reference

SilverlightControl Class

Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls Namespace