Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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 | |
|---|---|---|
| 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. | |
| DeleteContent | Ensure that the EditBox is empty before you set the value. | |
| DoNotVerify | Do not verify the final value. | |
| None | Use the default. | |
| UseCopyPaste | Use the clipboard to set the value in text by using CTRL+{Insert} to paste the value into the EditBox. | |
| UseProgrammatic | Set the value programmatically. | |
| UseSendKeys | Use EditBox to set the value of the EditBox. | |
| UseWindowMessage | Use Windows message WM_SETTEXT to set the value of the EditBox. This can only be used with windowed controls. |
Remarks
Because a ComboBox also has a EditBox component, these flags can be combined with OR by using the SetValueAsComboBoxOptions values.