Sdílet prostřednictvím


FieldBuilder.Build(Type) Method

Definition

Creates a list of SearchField objects corresponding to the properties of the type supplied.

public System.Collections.Generic.IList<Azure.Search.Documents.Indexes.Models.SearchField> Build (Type modelType);
member this.Build : Type -> System.Collections.Generic.IList<Azure.Search.Documents.Indexes.Models.SearchField>
Public Function Build (modelType As Type) As IList(Of SearchField)

Parameters

modelType
Type

The type for which fields will be created, based on its properties.

Returns

A collection of fields.

Exceptions

Applies to