All pages
Powered by GitBook
1 of 1

Loading...

DataGridViewChildRowCollection

Wisej.Web.DataGridViewChildRowCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

  • BaseCollection

    • DataGridViewChildRowCollection

Represents a collection of DataGridViewRow objects that are childre of another .

Properties

Item(index)

: Returns the row at the specified index.

Throws:

  • index is less than 0; or index is equal to or greater than the number of rows in the collection.

Methods

Contains(row)

Determines whether the specified row is contained in the collection.

Parameter
Type
Description

Returns: . true if row is in the collection; otherwise, false.

CopyTo(array, index)

Copies the elements of the collection to the specified array, starting at the specified index.

Parameter
Type
Description

Throws:

  • array is null.

  • index is less than zero.

  • array is multidimensional; or the number of elements in the is greater than the available space from index to the end of array .

IndexOf(row)

Returns the index of the specified element.

Parameter
Type
Description

Returns: . The zero-based index of the row parameter if it is found in the collection; otherwise, -1.

InvalidCastException The DataGridViewCellCollection cannot be cast automatically to the type of array .

row

DataGridViewRow

The DataGridViewRow to locate in the DataGridViewSelectedRowCollection.

array

DataGridViewRow[]

The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.

index

Int32

The zero-based index in the array at which copying begins.

row

DataGridViewRow

The DataGridViewRow to locate in the collection.

DataGridViewRow
Public Class DataGridViewChildRowCollection
    Inherits BaseCollection
    Implements IList, IList(Of DataGridViewRow), ICollection(Of DataGridViewRow), IEnumerable(Of DataGridViewRow)
DataGridViewRow
ArgumentOutOfRangeException
Boolean
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
DataGridViewCellCollection
Int32
public class DataGridViewChildRowCollection : BaseCollection, IList, IList<DataGridViewRow>, ICollection<DataGridViewRow>, IEnumerable<DataGridViewRow>