SimpleFieldAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attributes a simple field using a primitive type or a collection of a primitive type.
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class SimpleFieldAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type SimpleFieldAttribute = class
inherit Attribute
Public Class SimpleFieldAttribute
Inherits Attribute
- Inheritance
-
SimpleFieldAttribute
- Derived
- Attributes
Constructors
SimpleFieldAttribute() |
Properties
IsFacetable |
Gets or sets a value indicating whether the field can be retrieved in facet queries. The default is false. |
IsFilterable |
Gets or sets a value indicating whether the field can be referenced in |
IsHidden |
Gets or sets whether the field is returned in search results. The default is false. A key field where IsKey is true must have this property set to false. |
IsKey |
Gets or sets whether the field is the key field. The default is false. A SearchIndex must have exactly one key field of type String. |
IsSortable |
Gets or sets a value indicating whether to enable the field can be referenced in |
NormalizerName |
The name of the normalizer to use for the field. This option can be used only with fields with filterable, sortable, or facetable enabled. Once the normalizer is chosen, it cannot be changed for the field. Must be null for complex fields. |
Applies to
Azure SDK for .NET