SetValueAction.PreferEdit Property
Gets or sets a value that indicates whether to use an edit operation for combo boxes instead of a select operation to set the value.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Property PreferEdit As Boolean
public bool PreferEdit { get; set; }
public:
property bool PreferEdit {
bool get ();
void set (bool value);
}
member PreferEdit : bool with get, set
function get PreferEdit () : boolean
function set PreferEdit (value : boolean)
Property Value
Type: Boolean
true to prefer edit; otherwise, false.
Remarks
Setting this property raises the PropertyChanged event.
.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.