Class FilterOption
Represents a filter option used for filtering query results in the Delivery API.
Inheritance
object
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public sealed class FilterOption
Constructors
View SourceFilterOption()
Declaration
public FilterOption()
Properties
View SourceFieldName
Gets or sets the name of the field to filter on.
Declaration
public required string FieldName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Operator
Gets or sets the filter operation to apply.
Declaration
public required FilterOperation Operator { get; set; }
Property Value
| Type | Description |
|---|---|
| FilterOperation |
Values
Gets or sets the values to filter against.
Declaration
public required string[] Values { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |