Struct SearchFieldDataType
Defines the data type of a field in a search index.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public struct SearchFieldDataType : IEquatable<Azure.Search.Documents.Indexes.Models.SearchFieldDataType>
Constructors
SearchFieldDataType(String)
Initializes a new instance of SearchFieldDataType.
Declaration
public SearchFieldDataType (string value);
Parameters
System.String
value
|
Exceptions
System.ArgumentNullException
|
Properties
Boolean
A System.Boolean type.
Declaration
public static Azure.Search.Documents.Indexes.Models.SearchFieldDataType Boolean { get; }
Property Value
SearchFieldDataType
|
Complex
A complex type with child fields.
Declaration
public static Azure.Search.Documents.Indexes.Models.SearchFieldDataType Complex { get; }
Property Value
SearchFieldDataType
|
DateTimeOffset
A System.DateTimeOffset type, or System.DateTime converted to a System.DateTimeOffset.
Declaration
public static Azure.Search.Documents.Indexes.Models.SearchFieldDataType DateTimeOffset { get; }
Property Value
SearchFieldDataType
|
Double
A System.Double type, or something that can convert to a System.Double.
Declaration
public static Azure.Search.Documents.Indexes.Models.SearchFieldDataType Double { get; }
Property Value
SearchFieldDataType
|
GeographyPoint
A geographic point type.
Declaration
public static Azure.Search.Documents.Indexes.Models.SearchFieldDataType GeographyPoint { get; }
Property Value
SearchFieldDataType
|
Int32
An System.Int32 type, or something that can convert to an System.Int32.
Declaration
public static Azure.Search.Documents.Indexes.Models.SearchFieldDataType Int32 { get; }
Property Value
SearchFieldDataType
|
Int64
An System.Int64 type, or something that can convert to an System.Int64.
Declaration
public static Azure.Search.Documents.Indexes.Models.SearchFieldDataType Int64 { get; }
Property Value
SearchFieldDataType
|
IsCollection
Gets a value indicating whether the SearchFieldDataType represents a collection.
Declaration
public bool IsCollection { get; }
Property Value
System.Boolean
|
Single
A single type.
Declaration
public static Azure.Search.Documents.Indexes.Models.SearchFieldDataType Single { get; }
Property Value
SearchFieldDataType
|
String
A System.String type.
Declaration
public static Azure.Search.Documents.Indexes.Models.SearchFieldDataType String { get; }
Property Value
SearchFieldDataType
|
Methods
Collection(SearchFieldDataType)
Gets a SearchFieldDataType representing a collection of type
.
Declaration
public static Azure.Search.Documents.Indexes.Models.SearchFieldDataType Collection (Azure.Search.Documents.Indexes.Models.SearchFieldDataType type);
Parameters
SearchFieldDataType
type
The type of collection. |
Returns
SearchFieldDataType
A SearchFieldDataType representing a collection of |
Equals(SearchFieldDataType)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.Search.Documents.Indexes.Models.SearchFieldDataType other);
Parameters
SearchFieldDataType
other
An object to compare with this object. |
Returns
System.Boolean
|
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object
obj
The object to compare with the current instance. |
Returns
System.Boolean
|
GetHashCode()
Returns the hash code for this instance.
Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32
A 32-bit signed integer that is the hash code for this instance. |
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString ();
Returns
System.String
The fully qualified type name. |
Operators
Equality(SearchFieldDataType, SearchFieldDataType)
Determines if two SearchFieldDataType values are the same.
Declaration
public static bool operator == (Azure.Search.Documents.Indexes.Models.SearchFieldDataType left, Azure.Search.Documents.Indexes.Models.SearchFieldDataType right);
Parameters
SearchFieldDataType
left
|
SearchFieldDataType
right
|
Returns
System.Boolean
|
Implicit(String to SearchFieldDataType)
Converts a string to a SearchFieldDataType.
Declaration
public static implicit operator Azure.Search.Documents.Indexes.Models.SearchFieldDataType (string value);
Parameters
System.String
value
|
Returns
SearchFieldDataType
|
Inequality(SearchFieldDataType, SearchFieldDataType)
Determines if two SearchFieldDataType values are not the same.
Declaration
public static bool operator != (Azure.Search.Documents.Indexes.Models.SearchFieldDataType left, Azure.Search.Documents.Indexes.Models.SearchFieldDataType right);
Parameters
SearchFieldDataType
left
|
SearchFieldDataType
right
|
Returns
System.Boolean
|