CustomPropertyCollection 类

Represents a collection of custom properties for a report, report item, or group. This class cannot be inherited.

继承层次结构

System. . :: . .Object
  Microsoft.ReportingServices.ReportRendering..::..CustomPropertyCollection

命名空间:  Microsoft.ReportingServices.ReportRendering
程序集:  Microsoft.ReportingServices.ProcessingCore(在 Microsoft.ReportingServices.ProcessingCore.dll 中)

语法

声明
Public NotInheritable Class CustomPropertyCollection
用法
Dim instance As CustomPropertyCollection
public sealed class CustomPropertyCollection
public ref class CustomPropertyCollection sealed
[<SealedAttribute>]
type CustomPropertyCollection =  class end
public final class CustomPropertyCollection

CustomPropertyCollection 类型公开以下成员。

构造函数

  名称 说明
公共方法 CustomPropertyCollection Initializes a new instance of the CustomPropertyCollection class.

页首

属性

  名称 说明
公共属性 Count Gets the number of custom properties in the collection.
公共属性 Item[ ( [ ( Int32] ) ] ) Gets a custom property at a specified index.
公共属性 Item[ ( [ ( String] ) ] ) Returns a named custom property from the collection.

页首

方法

  名称 说明
公共方法 Add(CustomProperty) Adds a custom property to the collection.
公共方法 Add(String, Object) Creates a custom property with a name and value and adds it to the collection.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

A CustomPropertyCollection object containing custom properties for a report, report item, or group.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。