Share via


SrPeriod.CompareTo Method

Compares the status report period to another SrPeriod object.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Function CompareTo ( _
    obj As Object _
) As Integer
'Usage
Dim instance As SrPeriod
Dim obj As Object
Dim returnValue As Integer

returnValue = instance.CompareTo(obj)
public int CompareTo(
    Object obj
)

Parameters

  • obj
    Type: System.Object
    The status report period to compare with.

Return Value

Type: System.Int32
If this instance is less than the specified SrPeriod, returns a value less than zero. If this instance is equal to the specified SrPeriod, returns 0. If this instance is greater than the specified SrPeriod, returns a value greater than zero

Implements

IComparable.CompareTo(Object)

See Also

Reference

SrPeriod Structure

SrPeriod Members

Microsoft.Office.Project.Server.Library Namespace