Search Results for

    Show / Hide Table of Contents
    View Source

    Class IndexValue

    Represents an index value for a property to be indexed in the search system.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class IndexValue

    Constructors

    View Source

    IndexValue()

    Declaration
    public IndexValue()

    Properties

    View Source

    Culture

    Gets or sets the culture for this index value.

    Declaration
    public required string? Culture { get; set; }
    Property Value
    Type Description
    string
    Remarks

    Can be null for culture-invariant properties.

    View Source

    FieldName

    Gets or sets the field name to use in the index.

    Declaration
    public required string FieldName { get; set; }
    Property Value
    Type Description
    string
    View Source

    Values

    Gets or sets the values to be indexed for this field.

    Declaration
    public required IEnumerable<object?> Values { get; set; }
    Property Value
    Type Description
    IEnumerable<object>
    Remarks

    A field can have multiple values, for example when indexing tags or multi-select values.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX