Export (0) Print
Expand All

DataGridViewSelectedColumnCollection Members

Represents a collection of DataGridViewColumn objects that are selected in a DataGridView.

The following tables list the members exposed by the DataGridViewSelectedColumnCollection type.

(see also Protected Properties )
  Name Description
Public property Count  Gets the total number of elements in the collection.(inherited from BaseCollection)
Public property IsReadOnly  Gets a value indicating whether the collection is read-only.(inherited from BaseCollection)
Public property IsSynchronized  Gets a value indicating whether access to the ICollection is synchronized.(inherited from BaseCollection)
Public property Item Gets the column at the specified index.
Public property SyncRoot  Gets an object that can be used to synchronize access to the BaseCollection.(inherited from BaseCollection)

  Name Description
Protected property List Overridden.  

(see also Protected Methods )
  Name Description
Public method Clear Clears the collection.
Public method Contains Determines whether the specified column 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. (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 column 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)

  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)

Community Additions

© 2014 Microsoft