AWS SDK for .NET Documentation
DateOptions Class
AmazonAmazon.CloudSearch.ModelDateOptions Did this page help you?   Yes   No    Tell us about it...

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.

Declaration Syntax
C#
public class DateOptions
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DateOptions()()()()
Initializes a new instance of the DateOptions class

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

Constraints:

Length
0 - 1024


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FacetEnabled
Whether facet information can be returned for the field.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
ReturnEnabled
Whether the contents of the field can be returned in the search results.

SearchEnabled
Whether the contents of the field are searchable.

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

SourceField
A string that represents the name of an index field. Field names begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). The name "score" is reserved and cannot be used as a field name. To reference a document's ID, you can use the name _id.

Constraints:

Length
1 - 64
Pattern
[a-z][a-z0-9_]*


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

WithReturnEnabled(Boolean) Obsolete.
Sets the ReturnEnabled property

WithSearchEnabled(Boolean) Obsolete.
Sets the SearchEnabled property

WithSortEnabled(Boolean) Obsolete.
Sets the SortEnabled property

WithSourceField(String) Obsolete.
Sets the SourceField property

Inheritance Hierarchy
Object
DateOptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)