Share via


ElementCollection Generic Class (Microsoft.PerformancePoint.Scorecards)

Represents a collection of elements.

Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in microsoft.performancepoint.scorecards.client.dll)

Syntax

'Declaration
<SerializableAttribute> _
<DefaultMemberAttribute("Item")> _
Public MustInherit Class ElementCollection(Of ElementCollectionType As ElementCollection(Of ElementCollectionType, ElementType), ElementType As Element, IEquatable(Of ElementType))
    Inherits KeyedCollection(Of Guid, ElementType)
    Implements ICloneable, IDiffable
'Usage
Dim instance As ElementCollection(Of ElementCollectionType, ElementType)
[SerializableAttribute] 
[DefaultMemberAttribute("Item")] 
public abstract class ElementCollection<ElementCollectionType,ElementType> : KeyedCollection<Guid,ElementType>, ICloneable, IDiffable where ElementCollectionType : ElementCollection<ElementCollectionType,ElementType> where ElementType : Element, IEquatable<ElementType>

Remarks

The collection may contain the derived classes of the elements. This collection is backed by a hashtable to facilitate lookup by the Guid property.

Note

The C# syntax is as follows: public abstract class ElementCollection<ElementCollectionType, ElementType> : KeyedCollection<Guid, ElementType>, ICloneable, IDiffable where ElementCollectionType: ElementCollection<ElementCollectionType, ElementType>, new() where ElementType: Element, IEquatable<ElementType>

Inheritance Hierarchy

System.Object
   System.Collections.ObjectModel.Collection
     System.Collections.ObjectModel.KeyedCollection
      Microsoft.PerformancePoint.Scorecards.ElementCollection
         Derived Classes

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.

See Also

Reference

ElementCollection Members
Microsoft.PerformancePoint.Scorecards Namespace