FieldBuilder.Build(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
modelType
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET