DataRelationCollection overview
Count (inherited from InternalDataCollectionBase)
Supported by the .NET Compact Framework. |
Gets the total number of elements in a collection. |
IsReadOnly (inherited from InternalDataCollectionBase)
Supported by the .NET Compact Framework. |
Gets a value indicating whether the InternalDataCollectionBase is read-only. |
IsSynchronized (inherited from InternalDataCollectionBase)
Supported by the .NET Compact Framework. |
Gets a value indicating whether the InternalDataCollectionBase is synchonized. |
Item |
Overloaded. Gets the specified DataRelation from the collection.
In C#, this property is the indexer for the DataRelationCollection class. |
SyncRoot (inherited from InternalDataCollectionBase)
Supported by the .NET Compact Framework. |
Gets an object that can be used to synchronize the collection. |
Add
Supported by the .NET Compact Framework. |
Overloaded. Adds a DataRelation to the DataRelationCollection. |
AddRange
Supported by the .NET Compact Framework. |
Copies the elements of the specified DataRelation array to the end of the collection. |
CanRemove |
Verifies whether the specified DataRelation can be removed from the collection. |
Clear
Supported by the .NET Compact Framework. |
Clears the collection of any relations. |
Contains
Supported by the .NET Compact Framework. |
Verifies whether a DataRelation with the given name (case insensitive) exists in the collection. |
CopyTo (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. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. |
Overloaded. Determines whether two Object instances are equal. |
GetEnumerator (inherited from InternalDataCollectionBase)
Supported by the .NET Compact Framework. |
Gets an IEnumerator for the collection. |
GetHashCode (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. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. |
Gets the Type of the current instance. |
IndexOf |
Overloaded. Gets the index of the specified data relation. |
Remove
Supported by the .NET Compact Framework. |
Overloaded. Removes the specified relation from the collection. |
RemoveAt
Supported by the .NET Compact Framework. |
Removes the relation at the specified index from the collection. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. |
Returns a String that represents the current Object. |
CollectionChanged |
Occurs when the collection has changed. |
DataRelationCollection Constructor
Supported by the .NET Compact Framework. |
Initializes a new instance of the DataRelationCollection class. |
List (inherited from InternalDataCollectionBase) |
Gets the items of the collection as a list. |
AddCore
Supported by the .NET Compact Framework. |
Performs verification on the table. |
Finalize (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. |
GetDataSet
Supported by the .NET Compact Framework. |
Gets the dataset for this collection. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. |
Creates a shallow copy of the current Object. |
OnCollectionChanged
Supported by the .NET Compact Framework. |
Raises the OnCollectionChanged event. |
OnCollectionChanging |
Raises the OnCollectionChanging event. |
RemoveCore
Supported by the .NET Compact Framework. |
Performs a verification on the specified DataRelation object. |