Class
SelectorCollection

Represents a collection of objects that implement ISelector

Definition

Namespace:Telerik.Reporting.Drawing

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(SelectorCollectionConverter))]
public class SelectorCollection : Collection<ISelector>

Inheritance: objectCollection<ISelector>SelectorCollection

Constructors

SelectorCollection()

Initializes a new instance of the SelectorCollection class.

Declaration

cs-api-definition
public SelectorCollection()

SelectorCollection(ISelector[])

Initializes a new instance of the

Declaration

cs-api-definition
public SelectorCollection(ISelector[] selectors)

Parameters

selectors

ISelector[]

The initial ISelector objects that belong to the collection.

Methods

AddRange(ISelector[])

Adds an array of selector objects to the collection.

Declaration

cs-api-definition
public void AddRange(ISelector[] selectors)

Parameters

selectors

ISelector[]

An array of ISelector objects to add to the collection.

Remarks

The ISelector objects contained in the selectors array are appended to the end of the collection.

You can use the AddRange method to quickly add a group of ISelector objects to the collection instead of manually adding each ISelector to the collection using the Add(T) method.

To remove a ISelector that you previously added, use the Remove(T), RemoveAt(int), or Clear() methods.

Equals(object)

Determines whether the specified object is equal to the current SelectorCollection.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current collection.

Returns

bool

true if the specified object is a SelectorCollection and contains the same elements in the same order; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Returns a hash code for the current SelectorCollection.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code that represents the contents of the collection.

Overrides object.GetHashCode()