This documentation is archived and is not being maintained.

DataTableMappingCollection Members

DataTableMappingCollection overview

Public Constructors

public constructorDataTableMappingCollection Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the DataTableMappingCollection class. This new instance is empty, that is, it does not yet contain any DataTableMapping objects.

Public Properties

public propertyCount

Supported by the .NET Compact Framework.

Gets the number of DataTableMapping objects in the collection.
public propertyItem Overloaded. Gets or sets the DataTableMapping object specified.

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

Public Methods

public methodAdd

Supported by the .NET Compact Framework.

Overloaded. Adds a DataTableMapping object to the collection.
public methodAddRange

Supported by the .NET Compact Framework.

Copies the elements of the specified DataTableMapping array to the end of the collection.
public methodClear

Supported by the .NET Compact Framework.

Removes all DataTableMapping objects from the collection.
public methodContains

Supported by the .NET Compact Framework.

Overloaded. Gets a value indicating whether a particular DataTableMapping object exists in the collection.
public methodCopyTo

Supported by the .NET Compact Framework.

Copies the elements of the DataTableMappingCollection to the specified array.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetByDataSetTable

Supported by the .NET Compact Framework.

Gets the DataTableMapping object with the specified DataSet table name.
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 methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodstatic (Shared in Visual Basic)GetTableMappingBySchemaAction

Supported by the .NET Compact Framework.

Gets a DataColumnMapping object with the specified source table name and DataSet table name, using the given MissingMappingAction.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIndexOf

Supported by the .NET Compact Framework.

Overloaded. Gets the location of the specified DataTableMapping object within the collection.
public methodIndexOfDataSetTable

Supported by the .NET Compact Framework.

Gets the location of the DataTableMapping object with the specified DataSet table name.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodInsert

Supported by the .NET Compact Framework.

Inserts a DataTableMapping object into the DataTableMappingCollection at the specified index.
public methodRemove

Supported by the .NET Compact Framework.

Removes the specified DataTableMapping object from the collection.
public methodRemoveAt

Supported by the .NET Compact Framework.

Overloaded. Removes the specified DataTableMapping object from the collection.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

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 methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

Explicit Interface Implementations

See Also

DataTableMappingCollection Class | System.Data.Common Namespace

Show: