TabControl.TabPageCollection 成员

包含 TabPage 对象的集合。

下表列出了由 TabControl.TabPageCollection 类型公开的成员。

公共构造函数

  名称 说明
Public method Supported by the .NET Compact Framework TabControl.TabPageCollection 初始化 TabControl.TabPageCollection 类的新实例。

页首

公共属性

  名称 说明
Public property Supported by the .NET Compact Framework Count 获取集合中选项卡页的数目。
Public property Supported by the .NET Compact Framework IsReadOnly 获取一个值,该值指示集合是否为只读。
Public property Supported by the .NET Compact Framework Item 已重载。获取或设置集合中的选项卡页。

页首

公共方法

(请参见 受保护的方法 )

  名称 说明
Public method Supported by the .NET Compact Framework Add 已重载。 将选项卡页添加到集合。
Public method AddRange 将一组选项卡页添加到集合。
Public method Supported by the .NET Compact Framework Clear 从集合中移除所有的选项卡页。
Public method Supported by the .NET Compact Framework Contains 确定指定的选项卡页是否在集合中。
Public method ContainsKey 确定集合是否包含带有指定键的选项卡页。
Public method Supported by the .NET Compact Framework Equals  已重载。 确定两个 Object 实例是否相等。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework GetEnumerator 返回集合中所有选项卡页的枚举。
Public method Supported by the .NET Compact Framework GetHashCode  用作特定类型的哈希函数。GetHashCode 适合在哈希算法和数据结构(如哈希表)中使用。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework GetType  获取当前实例的 Type。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework IndexOf 返回集合中指定选项卡页的索引。
Public method IndexOfKey 返回带有指定键的 StatusBarPanel 的第一个匹配项的索引。
Public method Supported by the .NET Compact Framework Insert 已重载。 将一个选项卡页插入到集合中的指定索引位置。
Public method Static Supported by the .NET Compact Framework ReferenceEquals  确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。)
Public method Remove 从集合中移除 TabPage
Public method Supported by the .NET Compact Framework RemoveAt 从集合中移除指定索引处的选项卡页。
Public method RemoveByKey 从集合中移除带有指定键的选项卡页。
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  创建当前 Object 的浅表副本。 (从 Object 继承。)

页首

显式接口实现

  名称 说明
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.ICollection.CopyTo 从指定索引处开始,将集合中的元素复制到指定的数组。
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Add TabPage 控件添加到集合。
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Contains 确定指定的 TabPage 控件是否在 TabControl.TabPageCollection 中。
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.IndexOf 返回集合中指定的 TabPage 控件的索引。
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Insert 在集合中插入 TabPage 控件。
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Remove 从集合中移除 TabPage
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.Count  
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.IsSynchronized 获取一个值,该值指示是否同步对 TabControl.TabPageCollection 的访问(线程安全)。
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.SyncRoot 获取可用于同步 TabControl.TabPageCollection 访问的对象。
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsFixedSize 获取一个值,该值指示 TabControl.TabPageCollection 是否具有固定大小。
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsReadOnly  
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.Item 获取或设置集合中的 TabPage

页首

请参见

参考

TabControl.TabPageCollection 类
System.Windows.Forms 命名空间
TabControl 类