public enum AutocompleteMode extends Enum<AutocompleteMode>
Enum Constant and Description |
---|
ONE_TERM
Enum value oneTerm.
|
ONE_TERM_WITH_CONTEXT
Enum value oneTermWithContext.
|
TWO_TERMS
Enum value twoTerms.
|
Modifier and Type | Method and Description |
---|---|
static AutocompleteMode |
fromString(String value)
Parses a serialized value to a AutocompleteMode instance.
|
String |
toString() |
static AutocompleteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutocompleteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutocompleteMode ONE_TERM
public static final AutocompleteMode TWO_TERMS
public static final AutocompleteMode ONE_TERM_WITH_CONTEXT
public static AutocompleteMode[] values()
public static AutocompleteMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static AutocompleteMode fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<AutocompleteMode>
Copyright © 2021 Microsoft Corporation. All rights reserved.