Comment.CompareTo Method (Microsoft.PerformancePoint.Scorecards)
Compares the comment to another comment.
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
- obj
The comment to compare to.
location
Represents where the difference exists:0 - the CreatedDate field is different
1 - the CreatedBy field is different
2 - the Message field is different
Return Value
A signed number indicating the relative values of t1 and t2. Less than zero indicates that obj1 is less than obj2. Zero indicates that obj1 is equal to obj2. Greater than zero indicates that obj1 is greater than obj2
See Also
Reference
Comment Class
Comment Members
Microsoft.PerformancePoint.Scorecards Namespace