Share via


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

SearchFieldDataType(String)

Initializes a new instance of SearchFieldDataType.

Properties

Boolean

A Boolean type.

Byte

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

Complex

A complex type with child fields.

DateTimeOffset

A DateTimeOffset type, or DateTime converted to a DateTimeOffset.

Double

A Double type, or something that can convert to a Double.

GeographyPoint

A geographic point type.

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

An Int32 type, or something that can convert to an Int32.

Int64

An Int64 type, or something that can convert to an Int64.

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

A single type.

String

A String type.

Methods

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

Equality(SearchFieldDataType, SearchFieldDataType)

Determines if two SearchFieldDataType values are the same.

Implicit(String to SearchFieldDataType)

Converts a string to a SearchFieldDataType.

Inequality(SearchFieldDataType, SearchFieldDataType)

Determines if two SearchFieldDataType values are not the same.

Applies to