Export (0) Print
Expand All

DataGridViewSelectedRowCollection Methods

(see also Protected Methods )
  Name Description
Public method Clear Clears the collection.
Public method Contains Determines whether the specified row is contained in the collection.
Public method CopyTo Overloaded. Copies the elements in the collection to the specified array.
Public method 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.)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetEnumerator  Gets the object that enables iterating through the members of the collection. (Inherited from BaseCollection.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Insert Inserts a row into the collection at the specified position.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Top

  Name Description
Explicit interface implementation Method System.Collections.ICollection.CopyTo Copies the elements of the collection to the specified array, starting at the specified index.
Explicit interface implementation Method System.Collections.IEnumerable.GetEnumerator Returns an enumerator that can be used to iterate through the collection.
Explicit interface implementation Method System.Collections.IList.Add Implements the Add method. Always throws NotSupportedException.
Explicit interface implementation Method System.Collections.IList.Clear Implements the Clear method. Always throws NotSupportedException.
Explicit interface implementation Method System.Collections.IList.Contains Determines whether the specified value is contained in the collection.
Explicit interface implementation Method System.Collections.IList.IndexOf Returns the index of the specified element.
Explicit interface implementation Method System.Collections.IList.Insert Implements the Insert method. Always throws NotSupportedException.
Explicit interface implementation Method System.Collections.IList.Remove Implements the Remove method. Always throws NotSupportedException.
Explicit interface implementation Method System.Collections.IList.RemoveAt Implements the RemoveAt method. Always throws NotSupportedException.
Top

Community Additions

ADD
Show:
© 2014 Microsoft