SearchFieldDataType Struct

Definition

Defines the data type of a field in a search index.

public readonly struct SearchFieldDataType : IEquatable<Azure.Search.Documents.Indexes.Models.SearchFieldDataType>
type SearchFieldDataType = struct
Public Structure SearchFieldDataType
Implements IEquatable(Of SearchFieldDataType)
Inheritance
SearchFieldDataType
Implements

Constructors

Name Description
SearchFieldDataType(String)

Initializes a new instance of SearchFieldDataType.

Properties

Name Description
Boolean

Indicates that a field contains a Boolean value (true or false).

Byte

Indicates that a field contains a 8-bit unsigned integer. This is only valid when used with Collection(Edm.Byte).

Complex

Indicates that a field contains one or more complex objects that in turn have sub-fields of other types.

DateTimeOffset

Indicates that a field contains a date/time value, including timezone information.

Double

Indicates that a field contains an IEEE double-precision floating point number.

GeographyPoint

Indicates that a field contains a geo-location in terms of longitude and latitude.

Half

Indicates that a field contains a half-precision floating point number. This is only valid when used with Collection(Edm.Half).

Int16

Indicates that a field contains a 16-bit signed integer. This is only valid when used with Collection(Edm.Int16).

Int32

Indicates that a field contains a 32-bit signed integer.

Int64

Indicates that a field contains a 64-bit signed integer.

IsCollection

Gets a value indicating whether the SearchFieldDataType represents a collection.

SByte

Indicates that a field contains a 8-bit signed integer. This is only valid when used with Collection(Edm.SByte).

Single

Indicates that a field contains a single-precision floating point number. This is only valid when used with Collection(Edm.Single).

String

Indicates that a field contains a string.

Methods

Name Description
Collection(SearchFieldDataType)

Gets a SearchFieldDataType representing a collection of type.

Equals(SearchFieldDataType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(SearchFieldDataType, SearchFieldDataType)

Determines if two SearchFieldDataType values are the same.

Implicit(String to Nullable<SearchFieldDataType>)
Implicit(String to SearchFieldDataType)

Converts a string to a SearchFieldDataType.

Inequality(SearchFieldDataType, SearchFieldDataType)

Determines if two SearchFieldDataType values are not the same.

Applies to