Class ComplexField
A complex field or collection of complex fields that contain child fields. Child fields may be SimpleField or ComplexField.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class ComplexField : Azure.Search.Documents.Indexes.Models.SearchFieldTemplate
Constructors
ComplexField(String, Boolean)
Initializes a new instance of the ComplexField class.
Declaration
public ComplexField (string name, bool collection = false);
Parameters
System.String
name
The name of the field, which must be unique within the index or parent field. |
System.Boolean
collection
Whether the field is a collection of strings. |
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
Properties
Fields
Gets a collection of SimpleField or ComplexField child fields.
Declaration
public System.Collections.Generic.IList<Azure.Search.Documents.Indexes.Models.SearchFieldTemplate> Fields { get; }
Property Value
System.Collections.Generic.IList<SearchFieldTemplate>
|