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
- 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.WinControls Namespace