Class IndexField
Represents a field definition for the Delivery API content index.
Inheritance
object
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public sealed class IndexField
Constructors
View SourceIndexField()
Declaration
public IndexField()
Properties
View SourceFieldName
Gets or sets the name of the index field.
Declaration
public required string FieldName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FieldType
Gets or sets the type of the index field.
Declaration
public required FieldType FieldType { get; set; }
Property Value
| Type | Description |
|---|---|
| FieldType |
VariesByCulture
Gets or sets a value indicating whether this field varies by culture.
Declaration
public required bool VariesByCulture { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |