Share via


CustomPropertyCollection Class

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

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.ReportRendering.CustomPropertyCollection

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public NotInheritable Class CustomPropertyCollection
'Usage
Dim instance As CustomPropertyCollection
public sealed class CustomPropertyCollection
public ref class CustomPropertyCollection sealed
[<SealedAttribute>]
type CustomPropertyCollection =  class end
public final class CustomPropertyCollection

The CustomPropertyCollection type exposes the following members.

Constructors

  Name Description
Public method CustomPropertyCollection Initializes a new instance of the CustomPropertyCollection class.

Top

Properties

  Name Description
Public property Count Gets the number of custom properties in the collection.
Public property Item[Int32] Gets a custom property at a specified index.
Public property Item[String] Returns a named custom property from the collection.

Top

Methods

  Name Description
Public method Add(CustomProperty) Adds a custom property to the collection.
Public method Add(String, Object) Creates a custom property with a name and value and adds it to the collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.