NamedSelectionCriteria

A collection of named selection criteria.

Declaration Syntax

public class NamedSelectionCriteria : IList<NamedSelectionCriterion>, ICollection<NamedSelectionCriterion>, IEnumerable<NamedSelectionCriterion>, IEnumerable

Table 287: Members

Property

Count

The number of criteria in the collection.

Property

Item

The criterion at the given index.

Method

Add(NamedSelectionCriterion)

Adds the given criterion to the collection.

Method

Clear()

Clears the collection.

Method

Contains(NamedSelectionCriterion)

Returns whether the collection contains the given criterion.

Method

IndexOf(NamedSelectionCriterion)

Returns the index of the given criterion if it exists in the collection. Returns -1 if it does not

Method

Insert(int, NamedSelectionCriterion)

Inserts the given criterion into the collection at the given index.

Method

Remove(NamedSelectionCriterion)

Removes the given criterion from the collection if it exists in the collection. Throws an exception if it does not.

Method

RemoveAt(int)

Removes the criterion at the given index. Throws an exception if the given index is not valid.