다음을 통해 공유


FirstClassElementCollectionBase<ElementCollectionType, ElementType>.Diff Method

Compares this collection with another collection and returns the differences.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Public Function Diff ( _
    oldCollection As ElementCollectionType _
) As DiffCollection
'Usage
Dim instance As FirstClassElementCollectionBase
Dim oldCollection As ElementCollectionType
Dim returnValue As DiffCollection

returnValue = instance.Diff(oldCollection)
public DiffCollection Diff(
    ElementCollectionType oldCollection
)

Parameters

Return Value

Type: Microsoft.PerformancePoint.Scorecards.DiffCollection
An empty collection if the objects are the same; otherwise, the differences between the objects.

See Also

Reference

FirstClassElementCollectionBase<ElementCollectionType, ElementType> Class

FirstClassElementCollectionBase<ElementCollectionType, ElementType> Members

Microsoft.PerformancePoint.Scorecards Namespace