This documentation is archived and is not being maintained.
DataGridColumnCollection Members
.NET Framework 1.1
DataGridColumnCollection overview
Public Constructors
DataGridColumnCollection Constructor | Initializes a new instance of the DataGridColumnCollection class. |
Public Properties
Count | Gets the number of columns in the DataGridColumnCollection. |
IsReadOnly | Gets a value that indicates whether the columns in the DataGridColumnCollection can be modified. |
IsSynchronized | Gets a value indicating whether access to the DataGridColumnCollection is synchronized (thread-safe). |
Item | Gets a DataGridColumn derived column object from the DataGridColumnCollection collection at the specified index.
In C#, this property is the indexer for the DataGridColumnCollection class. |
SyncRoot | Gets the object that can be used to synchronize access to the DataGridColumnCollection. |
Public Methods
Add | Appends the specified DataGridColumn derived column object to the end of the DataGridColumnCollection. |
AddAt | Inserts a DataGridColumn derived column object in the DataGridColumnCollection at the specified index. |
Clear | Removes all DataGridColumn derived column objects from the DataGridColumnCollection. |
CopyTo | Copies the items from the DataGridColumnCollection to the specified System.Array object, starting at the specified index in the System.Array object. |
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
GetEnumerator | Returns an System.Collections.IEnumerator interface that contains all DataGridColumn derived column objects in the DataGridColumnCollection. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
IndexOf | Returns the index of the specified DataGridColumn derived column object from the DataGridColumnCollection. |
Remove | Removes the specified DataGridColumn derived column object from the DataGridColumnCollection. |
RemoveAt | Removes a DataGridColumn derived column object from the DataGridColumnCollection at the specified index. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Protected Methods
Finalize (inherited from Object) | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
See Also
DataGridColumnCollection Class | System.Web.UI.WebControls Namespace
Show:
