Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
FieldBuilder Class
Definition
- Namespace:
- Azure.Search.Documents.Indexes
- Assembly:
- Azure.Search.Documents.dll
- Package:
- Azure.Search.Documents v12.0.0
- Package:
- Azure.Search.Documents v12.1.0-beta.1
- Source:
- FieldBuilder.cs
- Source:
- FieldBuilder.cs
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.
Builds field definitions for a search index by reflecting over a user-defined model type.
public class FieldBuilder
type FieldBuilder = class
Public Class FieldBuilder
- Inheritance
-
FieldBuilder
Constructors
| Name | Description |
|---|---|
| FieldBuilder() |
Initializes a new instance of the FieldBuilder class. |
Properties
| Name | Description |
|---|---|
| Serializer |
Gets or sets the ObjectSerializer to use to generate field names that match JSON property names. You should use the same value as Serializer. JsonObjectSerializer will be used if no value is provided. |
Methods
| Name | Description |
|---|---|
| Build(Type) |
Creates a list of SearchField objects corresponding to the properties of the type supplied. |
Applies to
Azure SDK for .NET
Feedback
Was this page helpful?
