Class GridNonImmutableRangeInfoCollection
Implements a collection that stores 'GridNonImmutableRangeInfo' objects.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridNonImmutableRangeInfoCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
GridNonImmutableRangeInfoCollection()
Initializes a new instance of GridNonImmutableRangeInfoCollection class.
Declaration
public GridNonImmutableRangeInfoCollection()
GridNonImmutableRangeInfoCollection(GridNonImmutableRangeInfo[])
Initializes a new instance of GridNonImmutableRangeInfoCollection class with an array of 'GridNonImmutableRangeInfo' objects.
Declaration
public GridNonImmutableRangeInfoCollection(GridNonImmutableRangeInfo[] covValue)
Parameters
Type | Name | Description |
---|---|---|
GridNonImmutableRangeInfo[] | covValue | An array of GridNonImmutableRangeInfo objects with which to initialize the collection |
GridNonImmutableRangeInfoCollection(GridNonImmutableRangeInfoCollection)
Initializes a new instance of GridNonImmutableRangeInfoCollection class based on an already existing instance.
Declaration
public GridNonImmutableRangeInfoCollection(GridNonImmutableRangeInfoCollection covValue)
Parameters
Type | Name | Description |
---|---|---|
GridNonImmutableRangeInfoCollection | covValue | A GridNonImmutableRangeInfoCollection class from which the contents is copied |
Properties
Item[Int32]
Gets or sets the GridNonImmutableRangeInfo item at the specified index position.
Declaration
public GridNonImmutableRangeInfo this[int intIndex] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | intIndex | The zero-based index of the entry to locate in the collection. |
Property Value
Type | Description |
---|---|
GridNonImmutableRangeInfo | The entry at the specified index of the collection. |
Methods
Add(GridNonImmutableRangeInfo)
Adds a GridNonImmutableRangeInfo item with the specified value to the 'GridNonImmutableRangeInfoCollection'
Declaration
public int Add(GridNonImmutableRangeInfo covValue)
Parameters
Type | Name | Description |
---|---|---|
GridNonImmutableRangeInfo | covValue | The GridNonImmutableRangeInfo to add. |
Returns
Type | Description |
---|---|
System.Int32 | The index at which the new element was inserted. |
AddRange(GridNonImmutableRangeInfo[])
Copies the elements of an array at the end of this instance of 'GridNonImmutableRangeInfoCollection'.
Declaration
public void AddRange(GridNonImmutableRangeInfo[] covValue)
Parameters
Type | Name | Description |
---|---|---|
GridNonImmutableRangeInfo[] | covValue | An array of 'GridNonImmutableRangeInfo' objects to add to the collection. |
AddRange(GridNonImmutableRangeInfoCollection)
Adds the contents of another GridNonImmutableRangeInfoCollection at the end of this instance.
Declaration
public void AddRange(GridNonImmutableRangeInfoCollection covValue)
Parameters
Type | Name | Description |
---|---|---|
GridNonImmutableRangeInfoCollection | covValue | A GridNonImmutableRangeInfoCollection containing the objects to add to the collection. |
Contains(GridNonImmutableRangeInfo)
Gets a value indicating whether the GridNonImmutableRangeInfoCollection contains the specified value.
Declaration
public bool Contains(GridNonImmutableRangeInfo covValue)
Parameters
Type | Name | Description |
---|---|---|
GridNonImmutableRangeInfo | covValue | The item to locate. |
Returns
Type | Description |
---|---|
System.Boolean | True if the item exists in the collection; false otherwise. |
CopyTo(GridNonImmutableRangeInfo[], Int32)
Copies the GridNonImmutableRangeInfoCollection values to a one-dimensional System.Array instance starting at the specified array index.
Declaration
public void CopyTo(GridNonImmutableRangeInfo[] covArray, int intIndex)
Parameters
Type | Name | Description |
---|---|---|
GridNonImmutableRangeInfo[] | covArray | The one-dimensional System.Array that represents the copy destination. |
System.Int32 | intIndex | The index in the array where copying begins. |
GetEnumerator()
Returns an enumerator that can be used to iterate through the GridNonImmutableRangeInfoCollection.
Declaration
public GridNonImmutableRangeInfoCollection.GridNonImmutableRangeInfoEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
GridNonImmutableRangeInfoCollection.GridNonImmutableRangeInfoEnumerator | An enumerator. |
IndexOf(GridNonImmutableRangeInfo)
Returns the index of a GridNonImmutableRangeInfo object in the collection.
Declaration
public int IndexOf(GridNonImmutableRangeInfo covValue)
Parameters
Type | Name | Description |
---|---|---|
GridNonImmutableRangeInfo | covValue | The GridNonImmutableRangeInfo object whose index will be retrieved. |
Returns
Type | Description |
---|---|
System.Int32 | If found, the index of the value; otherwise, -1. |
Insert(Int32, GridNonImmutableRangeInfo)
Inserts an existing GridNonImmutableRangeInfo into the collection at the specified index.
Declaration
public void Insert(int intIndex, GridNonImmutableRangeInfo covValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | intIndex | The zero-based index where the new item should be inserted. |
GridNonImmutableRangeInfo | covValue | The item to insert. |
OnInsert(Int32, Object)
TODO: Describe what custom processing this method does before inserting a new item in the collection
Declaration
protected override void OnInsert(int intIndex, object objValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | intIndex | |
System.Object | objValue |
Overrides
OnSet(Int32, Object, Object)
TODO: Describe what custom processing this method does before setting an item in the collection
Declaration
protected override void OnSet(int intIndex, object objOldValue, object objNewValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | intIndex | |
System.Object | objOldValue | |
System.Object | objNewValue |
Overrides
Remove(GridNonImmutableRangeInfo)
Removes a specific item from the 'GridNonImmutableRangeInfoCollection'.
Declaration
public void Remove(GridNonImmutableRangeInfo covValue)
Parameters
Type | Name | Description |
---|---|---|
GridNonImmutableRangeInfo | covValue | The item to remove from the 'GridNonImmutableRangeInfoCollection'. |