Class SearchFieldTemplate
Base field type for helper classes to more easily create a SearchIndex.
Inheritance
System.Object
SearchFieldTemplate
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public abstract class SearchFieldTemplate
Properties
Name
Gets the name of the field.
Declaration
public string Name { get; }
Property Value
System.String
|
Type
Gets the data type of the field.
Declaration
public Azure.Search.Documents.Indexes.Models.SearchFieldDataType Type { get; }
Property Value
SearchFieldDataType
|
Operators
Implicit(SearchFieldTemplate to SearchField)
Casts a SearchFieldTemplate or derivative to a SearchField.
Declaration
public static implicit operator Azure.Search.Documents.Indexes.Models.SearchField (Azure.Search.Documents.Indexes.Models.SearchFieldTemplate value);
Parameters
SearchFieldTemplate
value
The SearchFieldTemplate or derivative to cast. |
Returns
SearchField
|
Exceptions
System.ArgumentNullException
|