Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Compares two integer values.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Public Shared Function Compare ( _
prop1 As Integer, _
prop2 As Integer, _
op As ProjectPropertyCompareOperator _
) As Boolean
'Usage
Dim prop1 As Integer
Dim prop2 As Integer
Dim op As ProjectPropertyCompareOperator
Dim returnValue As Boolean
returnValue = ProjectPropertyComparator.Compare(prop1, _
prop2, op)
public static bool Compare(
int prop1,
int prop2,
ProjectPropertyCompareOperator op
)
Parameters
prop1
Type: System.Int32The first integer value to be compared.
prop2
Type: System.Int32The second integer value to be compared.
op
Type: Microsoft.Office.Project.Server.Library.ProjectPropertyCompareOperatorThe comparison operator.
Return value
Type: System.Boolean
True if the integers are equal; otherwise, False.
See also
Reference
ProjectPropertyComparator class