Share via


Comment.CompareTo method

Compares this object to another object.

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

Syntax

'Declaration
Public Overridable Function CompareTo ( _
    obj As Object, _
    <OutAttribute> ByRef location As Integer _
) As Integer
'Usage
Dim instance As Comment
Dim obj As Object
Dim location As Integer
Dim returnValue As Integer

returnValue = instance.CompareTo(obj, _
    location)
public virtual int CompareTo(
    Object obj,
    out int location
)

Parameters

  • location
    Type: System.Int32

    An out parameter that represents where the difference exists.

Return value

Type: System.Int32
0 indicates that the CreatedDate fields are different. 1 indicates that the CreatedBy fields are different. 2 indicates that the Message fields are different.

See also

Reference

Comment class

Comment members

Microsoft.PerformancePoint.Scorecards namespace