Class SelectorOption
Represents a selector option used for content querying in the Delivery API.
Inheritance
object
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public sealed class SelectorOption
Constructors
View SourceSelectorOption()
Declaration
public SelectorOption()
Properties
View SourceFieldName
Gets or sets the name of the field to select on.
Declaration
public required string FieldName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Values
Gets or sets the values to match against the field.
Declaration
public required string[] Values { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |