Share via


AnnotationCommentComparer.Compare Method (Microsoft.PerformancePoint.Scorecards)

Orders by the created date.

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

Syntax

'Declaration
Public Function Compare ( _
    obj1 As Object, _
    obj2 As Object _
) As Integer
'Usage
Dim instance As AnnotationCommentComparer
Dim obj1 As Object
Dim obj2 As Object
Dim returnValue As Integer

returnValue = instance.Compare(obj1, obj2)
public int Compare (
    Object obj1,
    Object obj2
)

Parameters

  • obj1
    A comment to compare. (Must be of type Comment.)
  • obj2
    A comment to compare. (Must be of type Comment.)

Return Value

A signed number indicating the relative values of t1 and t2. Less than zero indicates that obj1 is less than obj2 zero or obj1 is equal to obj2. Greater than zero indicates that obj1 is greater than obj2.

Remarks

Newer dates come first.

See Also

Reference

AnnotationCommentComparer Class
AnnotationCommentComparer Members
Microsoft.PerformancePoint.Scorecards Namespace