This documentation is archived and is not being maintained.

SilverlightControl.GetPropertyAsString Method

Visual Studio 2010

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)

public virtual string GetPropertyAsString(
	string propertyName
)

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.

Show: