Edit

Share via


ContextualSearchConfiguredStat Class

Definition

Contains information about a contextual search stat.

[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class ContextualSearchConfiguredStat
type ContextualSearchConfiguredStat = class
    interface __IContextualSearchConfiguredStatPublicNonVirtuals
Public NotInheritable Class ContextualSearchConfiguredStat
Inheritance
ContextualSearchConfiguredStat
Attributes
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute

Properties

CanBeFiltered

Boolean on whether you can use this stat in a filter

CanBeSorted

Boolean on whether you can make sort queries

DataType

The data type of the stat. It should align with the values you are passing for the stat into the Search API.

DisplayName

This is the localizable string exposed to the end user. Depending on the language / culture you pass up in the header, you will get a localized version of this string.

DisplayType

How this Stat should be represented, as either a Set, Defined Range, or Undefined Range

Name

The actual name of the configured stat. This is what you will use as a parameter in the search API.

RangeMax

If the representation type is defined range, this is the max range

RangeMin

If the representation type is defined range, this is the min range

ValueToDisplayName

If the representation type is set, this contains a map to convert values to display names

Visibility

The visibility of the stat

Applies to