Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataColumnCollection Members

Represents a collection of DataColumn objects for a DataTable.

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

(see also Protected Properties )
  Name Description
Public property Supported by the .NET Compact Framework Count  Gets the total number of elements in a collection.(Inherited from InternalDataCollectionBase.)
Public property Supported by the .NET Compact Framework IsReadOnly  Gets a value that indicates whether the InternalDataCollectionBase is read-only.(Inherited from InternalDataCollectionBase.)
Public property Supported by the .NET Compact Framework IsSynchronized  Gets a value that indicates whether the InternalDataCollectionBase is synchonized.(Inherited from InternalDataCollectionBase.)
Public property Supported by the .NET Compact Framework Item Overloaded. Gets the specified DataColumn from the collection.
Public property Supported by the .NET Compact Framework SyncRoot  Gets an object that can be used to synchronize the collection.(Inherited from InternalDataCollectionBase.)
Top
  Name Description
Protected property Supported by the .NET Compact Framework List  
Top
(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Add Overloaded. Creates and adds a DataColumn object to the DataColumnCollection.
Public method Supported by the .NET Compact Framework AddRange Copies the elements of the specified DataColumn array to the end of the collection.
Public method Supported by the .NET Compact Framework CanRemove Checks whether a specific column can be removed from the collection.
Public method Supported by the .NET Compact Framework Clear Clears the collection of any columns.
Public method Supported by the .NET Compact Framework Contains Checks whether the collection contains a column with the specified name.
Public method Supported by the .NET Compact Framework CopyTo Overloaded. Copies the collection to an array, starting at the specified index.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetEnumerator  Gets an IEnumerator for the collection. (Inherited from InternalDataCollectionBase.)
Public method Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework IndexOf Overloaded. Searches for the specified DataColumn and returns the zero-based index of the first occurrence within the collection.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Remove Overloaded. Removes a DataColumn object from the collection.
Public method Supported by the .NET Compact Framework RemoveAt Removes the column at the specified index from the collection.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top
  Name Description
Protected method Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework OnCollectionChanged  
Protected method Supported by the .NET Compact Framework OnCollectionChanging  
Top
  Name Description
Public event Supported by the .NET Compact Framework CollectionChanged Occurs when the columns collection changes, either by adding or removing a column.
Top

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.