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

DataRelationCollection Members

DataRelationCollection overview

Public Properties

public propertyCount (inherited from InternalDataCollectionBase)

Supported by the .NET Compact Framework.

Gets the total number of elements in a collection.
public propertyIsReadOnly (inherited from InternalDataCollectionBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether the InternalDataCollectionBase is read-only.
public propertyIsSynchronized (inherited from InternalDataCollectionBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether the InternalDataCollectionBase is synchonized.
public propertyItem Overloaded. Gets the specified DataRelation from the collection.

In C#, this property is the indexer for the DataRelationCollection class.

public propertySyncRoot (inherited from InternalDataCollectionBase)

Supported by the .NET Compact Framework.

Gets an object that can be used to synchronize the collection.

Public Methods

public methodAdd

Supported by the .NET Compact Framework.

Overloaded. Adds a DataRelation to the DataRelationCollection.
public methodAddRange

Supported by the .NET Compact Framework.

Copies the elements of the specified DataRelation array to the end of the collection.
public methodCanRemove Verifies whether the specified DataRelation can be removed from the collection.
public methodClear

Supported by the .NET Compact Framework.

Clears the collection of any relations.
public methodContains

Supported by the .NET Compact Framework.

Verifies whether a DataRelation with the given name (case insensitive) exists in the collection.
public methodCopyTo (inherited from InternalDataCollectionBase)

Supported by the .NET Compact Framework.

Copies all the elements of the current InternalDataCollectionBase to a one-dimensional Array, starting at the specified InternalDataCollectionBase index.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator (inherited from InternalDataCollectionBase)

Supported by the .NET Compact Framework.

Gets an IEnumerator for the collection.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIndexOf Overloaded. Gets the index of the specified data relation.
public methodRemove

Supported by the .NET Compact Framework.

Overloaded. Removes the specified relation from the collection.
public methodRemoveAt

Supported by the .NET Compact Framework.

Removes the relation at the specified index from the collection.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Public Events

public eventCollectionChanged Occurs when the collection has changed.

Protected Constructors

protected constructorDataRelationCollection Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the DataRelationCollection class.

Protected Properties

protected propertyList (inherited from InternalDataCollectionBase) Gets the items of the collection as a list.

Protected Methods

protected methodAddCore

Supported by the .NET Compact Framework.

Performs verification on the table.
protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

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.

protected methodGetDataSet

Supported by the .NET Compact Framework.

Gets the dataset for this collection.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodOnCollectionChanged

Supported by the .NET Compact Framework.

Raises the OnCollectionChanged event.
protected methodOnCollectionChanging Raises the OnCollectionChanging event.
protected methodRemoveCore

Supported by the .NET Compact Framework.

Performs a verification on the specified DataRelation object.

See Also

DataRelationCollection Class | System.Data Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.