RdlCollection<T> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
代表RDL集合。
generic <typename T>
public ref class RdlCollection : Microsoft::ReportingServices::RdlObjectModel::RdlCollectionBase<T>
public class RdlCollection<T> : Microsoft.ReportingServices.RdlObjectModel.RdlCollectionBase<T>
type RdlCollection<'T> = class
inherit RdlCollectionBase<'T>
Public Class RdlCollection(Of T)
Inherits RdlCollectionBase(Of T)
类型参数
- T
集合的类型。
- 继承
- 派生
构造函数
| 名称 | 说明 |
|---|---|
| RdlCollection<T>() |
初始化 RdlCollection<T> 类的新实例。 |
| RdlCollection<T>(IContainedObject) |
初始化 RdlCollection<T> 类的新实例。 |
| RdlCollection<T>(IEnumerable<T>) |
初始化 RdlCollection<T> 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| Parent |
获取或设置父对象。 (继承自 RdlCollectionBase<T>) |
方法
| 名称 | 说明 |
|---|---|
| ClearItems() |
移除收藏中的所有物品。 |
| InsertItem(Int32, T) |
插入一个项目到集合中。 |
| OnCollectionChanged(EventArgs) |
引发 CollectionChanged 事件。 |
| RemoveItem(Int32) |
从集合中删除项。 |
| SetItem(Int32, T) |
替换收藏中的一项物品。 |
活动
| 名称 | 说明 |
|---|---|
| CollectionChanged |
当收藏发生变化时。 |
显式接口实现
| 名称 | 说明 |
|---|---|
| IList.Add(Object) |
将对象添加到集合的末尾。 (继承自 RdlCollectionBase<T>) |
| IList.Item[Int32] |
获取或设置指定索引处的元素。 (继承自 RdlCollectionBase<T>) |