다음을 통해 공유


AnnotationCommentComparer.Compare Method

Orders the specified objects by the CreatedDate property.

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

Return Value

Type: System.Int32
A signed number that indicates the relative values of the objects. Less than zero indicates that obj1 is less than obj2. Zero indicates that obj1 is equal to oobj2. Greater than zero indicates that obj1 is greater than obj2.

Implements

IComparer.Compare(Object, Object)

See Also

Reference

AnnotationCommentComparer Class

AnnotationCommentComparer Members

Microsoft.PerformancePoint.Scorecards Namespace