Share via


WinEdit.SelectionText Property

Gets or sets the content of the selected text.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

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

Property Value

Type: String
The content of the selected text.

.NET Framework Security

See Also

Reference

WinEdit Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace