UITestAction.ValueAsString Property

Gets or sets the value of this action as a string. The set procedure is not supported in this base class.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Overridable Property ValueAsString As String
public virtual string ValueAsString { get; set; }
public:
virtual property String^ ValueAsString {
    String^ get ();
    void set (String^ value);
}
abstract ValueAsString : string with get, set 
override ValueAsString : string with get, set
function get ValueAsString () : String 
function set ValueAsString (value : String)

Property Value

Type: String
The value of this action as a string.

Exceptions

Exception Condition
NotSupportedException

A try was made to change the value of this property.

.NET Framework Security

See Also

Reference

UITestAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace