Class GridViewColumnValuesCollection
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewColumnValuesCollection : IList, ICollection, IEnumerable
Constructors
GridViewColumnValuesCollection()
Initializes a new instance of the GridViewColumnValuesCollection class.
Declaration
public GridViewColumnValuesCollection()
Properties
Count
Gets the number of elements contained in the System.Collections.ICollection.
Declaration
public int Count { get; }
Property Value
System.Int32
The number of elements contained in the System.Collections.ICollection. |
Implements
Item[Int32]
Gets or sets the System.Object at the specified index.
Declaration
public object this[int index] { get; set; }
Parameters
System.Int32
index
|
Property Value
System.Object
|
Implements
Methods
Add(Object)
Adds an item to the System.Collections.IList.
Declaration
public int Add(object value)
Parameters
System.Object
value
The object to add to the System.Collections.IList. |
Returns
System.Int32
The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection, |
Implements
Exceptions
System.NotSupportedException
The System.Collections.IList is read-only.-or- The System.Collections.IList has a fixed size. |
Clear()
Removes all items from the System.Collections.IList.
Declaration
public void Clear()
Implements
Exceptions
System.NotSupportedException
The System.Collections.IList is read-only. |
Contains(Object)
Determines whether the System.Collections.IList contains a specific value.
Declaration
public bool Contains(object value)
Parameters
System.Object
value
The object to locate in the System.Collections.IList. |
Returns
System.Boolean
true if the System.Object is found in the System.Collections.IList; otherwise, false. |
Implements
CopyTo(Array, Int32)
Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index.
Declaration
public void CopyTo(Array array, int index)
Parameters
System.Array
array
The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing. |
System.Int32
index
The zero-based index in |
Implements
Exceptions
System.ArgumentNullException
|
System.ArgumentOutOfRangeException
|
System.ArgumentException
|
GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
public IEnumerator GetEnumerator()
Returns
System.Collections.IEnumerator
An System.Collections.IEnumerator object that can be used to iterate through the collection. |
Implements
IndexOf(Object)
Determines the index of a specific item in the System.Collections.IList.
Declaration
public int IndexOf(object value)
Parameters
System.Object
value
The object to locate in the System.Collections.IList. |
Returns
System.Int32
The index of |
Implements
Remove(Object)
Removes the first occurrence of a specific object from the System.Collections.IList.
Declaration
public void Remove(object value)
Parameters
System.Object
value
The object to remove from the System.Collections.IList. |
Implements
Exceptions
System.NotSupportedException
The System.Collections.IList is read-only.-or- The System.Collections.IList has a fixed size. |
RemoveAt(Int32)
Removes the System.Collections.IList item at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
System.Int32
index
The zero-based index of the item to remove. |
Implements
Exceptions
System.ArgumentOutOfRangeException
|
System.NotSupportedException
The System.Collections.IList is read-only.-or- The System.Collections.IList has a fixed size. |
Explicit Interface Implementations
ICollection.IsSynchronized
Declaration
bool ICollection.IsSynchronized { get; }
Returns
System.Boolean
|
Implements
ICollection.SyncRoot
Declaration
object ICollection.SyncRoot { get; }
Returns
System.Object
|
Implements
IList.Insert(Int32, Object)
Declaration
void IList.Insert(int index, object value)
Parameters
System.Int32
index
|
System.Object
value
|
Implements
IList.IsFixedSize
Declaration
bool IList.IsFixedSize { get; }
Returns
System.Boolean
|
Implements
IList.IsReadOnly
Declaration
bool IList.IsReadOnly { get; }
Returns
System.Boolean
|