AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Options for a date field. Dates and times are specified in UTC (Coordinated Universal Time) according to IETF RFC3339: yyyy-mm-ddT00:00:00Z. Present if IndexFieldType specifies the field is of type date. All options are enabled by default.

Inheritance Hierarchy

System.Object
  Amazon.CloudSearch.Model.DateOptions

Namespace: Amazon.CloudSearch.Model
Assembly: AWSSDK.CloudSearch.dll
Version: 3.x.y.z

Syntax

C#
public class DateOptions

The DateOptions type exposes the following members

Constructors

NameDescription
Public Method DateOptions()

Properties

NameTypeDescription
Public Property DefaultValue System.String

Gets and sets the property DefaultValue. A value to use for the field if the field isn't specified for a document.

Public Property FacetEnabled System.Nullable<System.Boolean>

Gets and sets the property FacetEnabled.

Whether facet information can be returned for the field.

Public Property ReturnEnabled System.Nullable<System.Boolean>

Gets and sets the property ReturnEnabled.

Whether the contents of the field can be returned in the search results.

Public Property SearchEnabled System.Nullable<System.Boolean>

Gets and sets the property SearchEnabled.

Whether the contents of the field are searchable.

Public Property SortEnabled System.Nullable<System.Boolean>

Gets and sets the property SortEnabled.

Whether the field can be used to sort the search results.

Public Property SourceField System.String

Gets and sets the property SourceField.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer