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!

TablesCollection Methods

The methods of the TablesCollection class are listed below. For a complete list of TablesCollection class members, see the TablesCollection Members topic.

Public:

Add Overloaded. Adds a table to the collection.
CanRemove Verifies if a given table can be removed from the collection.
Clear Clears the collection of any tables.
Contains Overloaded. Verifies whether the collection contains a specific table.
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 Overloaded. Returns the index of a specified table.
Remove Overloaded. Removes a table from the collection.
ShouldPersistAll Indicates whether changes to the collection (returned by the All method) should be persisted.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

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:

AddOnCollectionChanged Registers the handler to get events whenever this collection changes.
RemoveOnCollectionChanged Unregisters the handler from getting events whenever this collection changes.

See Also

TablesCollection Class | System.Data Namespace