ProjectPropertyComparator.Compare Method (Decimal, Decimal, ProjectPropertyCompareOperator)
Compares two Decimal 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 Decimal, _
prop2 As Decimal, _
op As ProjectPropertyCompareOperator _
) As Boolean
'Usage
Dim prop1 As Decimal
Dim prop2 As Decimal
Dim op As ProjectPropertyCompareOperator
Dim returnValue As Boolean
returnValue = ProjectPropertyComparator.Compare(prop1, _
prop2, op)
public static bool Compare(
decimal prop1,
decimal prop2,
ProjectPropertyCompareOperator op
)
Parameters
- prop1
Type: System.Decimal
The first Decimal value to be compared.
- prop2
Type: System.Decimal
The second Decimal value to be compared.
- op
Type: Microsoft.Office.Project.Server.Library.ProjectPropertyCompareOperator
The comparison operator.
Return Value
Type: System.Boolean
True if the Decimal values are equal; otherwise, False.
See Also
Reference
ProjectPropertyComparator Class