Element.Diff Method

Compares this object to another object and returns the differences.

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

Syntax

'Declaration
Public Overridable Function Diff ( _
    oldValue As Object _
) As DiffCollection
'Usage
Dim instance As Element
Dim oldValue As Object
Dim returnValue As DiffCollection

returnValue = instance.Diff(oldValue)
public virtual DiffCollection Diff(
    Object oldValue
)

Parameters

Return Value

Type: Microsoft.PerformancePoint.Scorecards.DiffCollection
a null reference (Nothing in Visual Basic) if the objects are the same; otherwise, the differences between the objects.

Implements

IDiffable.Diff(Object)

Exceptions

Exception Condition
NotSupportedException

Thrown if object type passed in is not an element.

Remarks

The oldValue parameter must derive from Element.

See Also

Reference

Element Class

Element Members

Microsoft.PerformancePoint.Scorecards Namespace