DataGridViewSelectedRowCollection Methods
.NET Framework 4.5
The DataGridViewSelectedRowCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Clear | Infrastructure. Clears the collection. |
|
Contains | Determines whether the specified row is contained in the collection. |
|
CopyTo(Array, Int32) | Copies all the elements of the current one-dimensional Array to the specified one-dimensional Array starting at the specified destination Array index. (Inherited from BaseCollection.) |
|
CopyTo(DataGridViewRow[], Int32) | Copies the elements of the collection to the specified array, starting at the specified index. |
|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetEnumerator | Gets the object that enables iterating through the members of the collection. (Inherited from BaseCollection.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
Insert | Infrastructure. Inserts a row into the collection at the specified position. |
|
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
|
ICollection.CopyTo | Infrastructure. Copies the elements of the collection to the specified array, starting at the specified index. |
|
IEnumerable.GetEnumerator | Infrastructure. Returns an enumerator that can be used to iterate through the collection. |
|
IList.Add | Infrastructure. Implements the Add method. Always throws NotSupportedException. |
|
IList.Clear | Infrastructure. Implements the Clear method. Always throws NotSupportedException. |
|
IList.Contains | Infrastructure. Determines whether the specified value is contained in the collection. |
|
IList.IndexOf | Infrastructure. Returns the index of the specified element. |
|
IList.Insert | Infrastructure. Implements the Insert method. Always throws NotSupportedException. |
|
IList.Remove | Infrastructure. Implements the Remove method. Always throws NotSupportedException. |
|
IList.RemoveAt | Infrastructure. Implements the RemoveAt method. Always throws NotSupportedException. |