Share via


DataTableMappingCollection 成员

DataTableMapping 对象的集合。无法继承此类。

下表列出了由 DataTableMappingCollection 类型公开的成员。

公共构造函数

  名称 说明
Public method Supported by the .NET Compact Framework DataTableMappingCollection 初始化 DataTableMappingCollection 类的新实例。此新实例是空的,即它尚未包含任何 DataTableMapping 对象。

页首

公共属性

  名称 说明
Public property Supported by the .NET Compact Framework Count 获取集合中的 DataTableMapping 对象数。
Public property Supported by the .NET Compact Framework Item 已重载。获取或设置指定的 DataTableMapping 对象。

页首

公共方法

(请参见 受保护的方法 )

  名称 说明
Public method Supported by the .NET Compact Framework Add 已重载。 将 DataTableMapping 对象添加到集合中。
Public method Supported by the .NET Compact Framework AddRange 已重载。 将给定数组的元素复制到该集合的末尾。
Public method Supported by the .NET Compact Framework Clear 从集合中移除所有 DataTableMapping 对象。
Public method Supported by the .NET Compact Framework Contains 已重载。 获取一个值,该值指示集合中是否存在特定的 DataTableMapping 对象。
Public method Supported by the .NET Compact Framework CopyTo 已重载。 将给定集合的元素复制到指定的数组。
Public method CreateObjRef  创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。 (从 MarshalByRefObject 继承。)
Public method Supported by the .NET Compact Framework Equals  已重载。 确定两个 Object 实例是否相等。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework GetByDataSetTable 获取具有指定 DataSet 表名称的 DataTableMapping 对象。
Public method Supported by the .NET Compact Framework GetEnumerator 获取可循环访问集合的枚举数。
Public method Supported by the .NET Compact Framework GetHashCode  用作特定类型的哈希函数。GetHashCode 适合在哈希算法和数据结构(如哈希表)中使用。 (从 Object 继承。)
Public method GetLifetimeService  检索控制此实例的生存期策略的当前生存期服务对象。 (从 MarshalByRefObject 继承。)
Public method Static Supported by the .NET Compact Framework GetTableMappingBySchemaAction 使用给定的 MissingMappingAction,获取具有指定源表名称和 DataSet 表名称的 DataColumnMapping 对象。
Public method Supported by the .NET Compact Framework GetType  获取当前实例的 Type。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework IndexOf 已重载。 获取指定的 DataTableMapping 对象在集合中的位置。
Public method Supported by the .NET Compact Framework IndexOfDataSetTable 获取具有指定 DataSet 表名称的 DataTableMapping 对象的位置。
Public method InitializeLifetimeService  获取控制此实例的生存期策略的生存期服务对象。 (从 MarshalByRefObject 继承。)
Public method Supported by the .NET Compact Framework Insert 已重载。 将一个对象插入 DataTableMappingCollection 中的指定索引处。
Public method Static Supported by the .NET Compact Framework ReferenceEquals  确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework Remove 已重载。 从集合中移除指定的对象。
Public method Supported by the .NET Compact Framework RemoveAt 已重载。 从集合中移除指定的 DataTableMapping 对象。
Public method Supported by the .NET Compact Framework ToString  返回表示当前 ObjectString。 (从 Object 继承。)

页首

受保护的方法

  名称 说明
Protected method Supported by the .NET Compact Framework Finalize  允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。 (从 Object 继承。)
Protected method Supported by the .NET Compact Framework MemberwiseClone  已重载。 (从 MarshalByRefObject 继承。)

页首

显式接口实现

  名称 说明
Explicit interface implementation Method Supported by the .NET Compact Framework System.Data.ITableMappingCollection.Add 有关此成员的说明,请参见 System.Data.ITableMappingCollection.Add。
Explicit interface implementation Method Supported by the .NET Compact Framework System.Data.ITableMappingCollection.GetByDataSetTable 有关此成员的说明,请参见 ITableMappingCollection.GetByDataSetTable
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.IsSynchronized 有关此成员的说明,请参见 System.Collections.ICollection.IsSynchronized。
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.SyncRoot 有关此成员的说明,请参见 System.Collections.ICollection.SyncRoot。
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsFixedSize 有关此成员的说明,请参见 System.Collections.IList.IsFixedSize。
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsReadOnly 有关此成员的说明,请参见 System.Collections.IList.IsReadOnly。
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.Item 有关此成员的说明,请参见 System.Collections.IList.Item(System.Int32)。
Explicit interface implementation Property Supported by the .NET Compact Framework System.Data.ITableMappingCollection.Item 有关此成员的说明,请参见 System.Data.ITableMappingCollection.Item(System.String)。

页首

请参见

参考

DataTableMappingCollection 类
System.Data.Common 命名空间