Gets or sets the legal values. (Can be nullNothingnullptra null reference (Nothing in Visual Basic).)

Namespace: ININ.IceLib.Tracker
Assembly: ININ.IceLib.Tracker (in ININ.IceLib.Tracker.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public ReadOnlyCollection<string> LegalValues { get; set; }
Visual Basic
Public Property LegalValues As ReadOnlyCollection(Of String)
	Get
	Set

Field Value

The legal values, or nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Legal values are useful for storing a set of strings that the Value of a TrackerAttribute can be restricted to. For instance, if you had a TrackerAttributeType with a Name of cars, you may want to display a list of possible Values for this Tracker attribute. If the desired list of values is Chevy, Ford, Toyota, then the LegalValues property would contain: "Chevy", "Ford", and "Toyota"

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also