CustomPropertyCollection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
代表报告、报表项或组的自定义属性集合。 此类不能被继承。
public ref class CustomPropertyCollection sealed
public sealed class CustomPropertyCollection
type CustomPropertyCollection = class
Public NotInheritable Class CustomPropertyCollection
- 继承
-
CustomPropertyCollection
注解
CustomPropertyCollection包含报表、报表项或组自定义属性的对象。
构造函数
| 名称 | 说明 |
|---|---|
| CustomPropertyCollection() |
初始化 CustomPropertyCollection 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| Count |
获取集合中的自定义属性数。 |
| Item[Int32] |
在指定索引处获得自定义属性。 |
| Item[String] |
返回集合中的命名自定义属性。 |
方法
| 名称 | 说明 |
|---|---|
| Add(CustomProperty) |
为集合添加自定义属性。 |
| Add(String, Object) |
创建一个带有名称和值的自定义属性,并将其添加到集合中。 |