NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ColumnsCollection Members

Public:

Properties

All Gets or sets all the columns of the columns collection.
Count (inherited from BaseCollection) [To be supplied.]
IsReadOnly (inherited from BaseCollection) [To be supplied.]
IsSynchronized (inherited from BaseCollection) [To be supplied.]
Item Overloaded. [To be supplied.]

In C#, this member is the indexer for the ColumnsCollection class.

SyncRoot (inherited from BaseCollection) [To be supplied.]

Methods

Add Overloaded. Adds a DataColumn to the columns collection.
CanRemove Checks if a given column can be removed from the collection.
Clear Clears the collection of any columns.
Contains Overloaded. Checks whether the collection contains a specified column.
CopyTo (inherited from BaseCollection) [To be supplied.]
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetEnumerator (inherited from BaseCollection) [To be supplied.]
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 Object.
IndexOf Returns the index of a column specified by name.
Remove Overloaded. Removes a column from the collection.
ShouldPersistAll [To be supplied.]
ToString (inherited from Object) Returns a String that represents the current Object.

Events

CollectionChanged Occurs when the columns collection changes, either by adding or removing a column.

Protected:

Properties

List Gets the elements of the collection as an object.

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnCollectionChanged Raises the OnCollectionChanged event.

Event Hookup:

Methods

AddOnCollectionChanged Adds an event handler for the OnCollectionChanged event.
RemoveOnCollectionChanged Removes an event handler that has been associated with the OnCollectionChanged event.

See Also

ColumnsCollection Class | System.Data Namespace