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!

RelationsCollection Members

Public:

Constructor

RelationsCollection Constructor [To be supplied.]

Properties

All Gets or sets all of the relations in the 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 RelationsCollection class.

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

Methods

Add Overloaded. Adds a relation to the collection.
Clear Clears the collection of any relations.
Contains Overloaded. [To be supplied.]
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.
Remove Overloaded. [To be supplied.]
ShouldPersistAll [To be supplied.]
ToString (inherited from Object) Returns a String that represents the current Object.

Events

CollectionChanged [To be supplied.]

Protected:

Properties

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

Methods

AddCore Does verification on the table. An ArgumentNullException is thrown if this relation is null. An ArgumentException is thrown if this relation already belongs to this collection, belongs to another collection. A DuplicateNameException is thrown if this collection already has a relation with the same name (case insensitive).
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.
GetDataSet Gets the dataSet for this collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnCollectionChanged This method is called whenever the collection changes. Overriders of this method should call the base implementation of this method.
RemoveCore Does verification on the relation. An ArgumentNullException is thrown if this relation is null. An ArgumentException is thrown if this relation doesn't belong to this collection.

Event Hookup:

Methods

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

See Also

RelationsCollection Class | System.Data Namespace