共用方式為


FieldBuilder Class

Definition

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

FieldBuilder()

Initializes a new instance of the FieldBuilder class.

Properties

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

Build(Type)

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

Applies to