| CollectionGenericT Methods |
The CollectionGenericT generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Add |
添加一个新元素
| |
| AddRange |
添加一组新元素
| |
| Clear | 从 CollectionBase 实例移除所有对象。不能重写此方法。 (Inherited from CollectionBase.) | |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetEnumerator | 返回循环访问 CollectionBase 实例的枚举数。 (Inherited from CollectionBase.) | |
| GetHashCode |
用作特定类型的哈希函数。
(Inherited from Object.) | |
| GetType |
获取当前实例的 Type。
(Inherited from Object.) | |
| MemberwiseClone |
创建当前 Object 的浅表副本。
(Inherited from Object.) | |
| OnClear | 当清除 CollectionBase 实例的内容时执行其他自定义进程。 (Inherited from CollectionBase.) | |
| OnClearComplete | 在清除 CollectionBase 实例的内容之后执行其他自定义进程。 (Inherited from CollectionBase.) | |
| OnInsert | 在向 CollectionBase 实例中插入新元素之前执行其他自定义进程。 (Inherited from CollectionBase.) | |
| OnInsertComplete | 在向 CollectionBase 实例中插入新元素之后执行其他自定义进程。 (Inherited from CollectionBase.) | |
| OnRemove | 当从 CollectionBase 实例移除元素时执行其他自定义进程。 (Inherited from CollectionBase.) | |
| OnRemoveComplete | 在从 CollectionBase 实例中移除元素之后执行其他自定义进程。 (Inherited from CollectionBase.) | |
| OnSet | 当在 CollectionBase 实例中设置值之前执行其他自定义进程。 (Inherited from CollectionBase.) | |
| OnSetComplete | 当在 CollectionBase 实例中设置值后执行其他自定义进程。 (Inherited from CollectionBase.) | |
| OnValidate | 当验证值时执行其他自定义进程。 (Inherited from CollectionBase.) | |
| Remove(Int32) |
移除指定索引处的元素
| |
| Remove(T) |
移除指定的元素
| |
| RemoveAt | 移除 CollectionBase 实例的指定索引处的元素。此方法不可重写。 (Inherited from CollectionBase.) | |
| ToString | (Inherited from Object.) |