Options that define a literal field in the search index.
 Declaration Syntax
 Declaration Syntax| C# | 
public class LiteralOptions
 Members
 Members| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description | 
|---|---|---|
|  | LiteralOptions()()()() | Initializes a new instance of the LiteralOptions class | 
|  | DefaultValue | 
            The default value for a literal field. Optional.
             
             Constraints: | 
|  | Equals(Object) | (Inherited from Object.) | 
|  | FacetEnabled | 
            Specifies whether facets are enabled for this field. Default: False.
             
             | 
|  | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetType()()()() | Gets the type of the current instance.(Inherited from Object.) | 
|  | ResultEnabled | 
            Specifies whether values of this field can be returned in search results and used for ranking. Default: False.
             
             | 
|  | SearchEnabled | 
            Specifies whether search is enabled for this field. Default: False.
             
             | 
|  | ToString()()()() | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WithDefaultValue(String) | Obsolete. 
            Sets the DefaultValue property
             | 
|  | WithFacetEnabled(Boolean) | Obsolete. 
            Sets the FacetEnabled property
             | 
|  | WithResultEnabled(Boolean) | Obsolete. 
            Sets the ResultEnabled property
             | 
|  | WithSearchEnabled(Boolean) | Obsolete. 
            Sets the SearchEnabled property
             | 
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | |
|  | LiteralOptions |