Поделиться через


SetValueAsEditBoxOptions Enumeration

Represents the flag values for configuring how to set the value of an EditBox.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration SetValueAsEditBoxOptions
[FlagsAttribute]
public enum SetValueAsEditBoxOptions
[FlagsAttribute]
public enum class SetValueAsEditBoxOptions
[<FlagsAttribute>]
type SetValueAsEditBoxOptions
public enum SetValueAsEditBoxOptions

Members

Member name Description
None Use the default.
DeleteContent Ensure that the EditBox is empty before you set the value.
UseProgrammatic Set the value programmatically.
UseWindowMessage Use Windows message WM_SETTEXT to set the value of the EditBox. This can only be used with windowed controls.
UseCopyPaste Use the clipboard to set the value in text by using CTRL+{Insert} to paste the value into the EditBox.
UseSendKeys Use EditBox to set the value of the EditBox.
DoNotVerify Do not verify the final value.
All Because EditBox can use a mix of values from this enumeration and SetValueAsComboBoxOptions, this option helps by removing only SetValueAsComboBoxOptions values from the option.

Remarks

Because a ComboBox also has a EditBox component, these flags can be combined with OR by using the SetValueAsComboBoxOptions values.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

SetValueAsComboBoxOptions

UITechnologyManager.Search