ClassGridViewColumnValuesCollection
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewColumnValuesCollection : IList, ICollection, IEnumerable
Inheritance: objectGridViewColumnValuesCollection
Implements:
Constructors
GridViewColumnValuesCollection()
Initializes a new instance of the GridViewColumnValuesCollection class.
Declaration
public GridViewColumnValuesCollection()
Properties
Count
Gets the number of elements contained in the ICollection.
Declaration
public int Count { get; }
Property Value
The number of elements contained in the ICollection.
Implements
Methods
Add(object)
Adds an item to the IList.
Declaration
public int Add(object value)
Parameters
value
The object to add to the IList.
Returns
The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection,
Exceptions
Implements
Clear()
Removes all items from the IList.
Contains(object)
Determines whether the IList contains a specific value.
CopyTo(Array, int)
Copies the elements of the ICollection to an Array, starting at a particular Array index.
Declaration
public void CopyTo(Array array, int index)
Parameters
array
The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.
index
The zero-based index in array at which
copying begins.
Exceptions
array is null.
index is less than zero.
array is multidimensional.-or- The number of elements in the
source ICollection is greater than the available
space from index to the end of the destination array.-or-The
type of the source ICollection cannot be cast
automatically to the type of the destination array.
Implements
GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
public IEnumerator GetEnumerator()
Returns
An IEnumerator object that can be used to iterate through the collection.
Implements
IndexOf(object)
Determines the index of a specific item in the IList.
Remove(object)
Removes the first occurrence of a specific object from the IList.
Declaration
public void Remove(object value)
Parameters
value
The object to remove from the IList.
Exceptions
Implements
RemoveAt(int)
Removes the IList item at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
index
The zero-based index of the item to remove.
Exceptions
index is not a valid index in the IList.
Implements