ProjectPropertyComparator.Compare 方法 (Decimal, Decimal, ProjectPropertyCompareOperator)

比较两个Decimal值。

命名空间:  Microsoft.Office.Project.Server.Library
程序集:  Microsoft.Office.Project.Server.Library(位于 Microsoft.Office.Project.Server.Library.dll 中)

语法

声明
Public Shared Function Compare ( _
    prop1 As Decimal, _
    prop2 As Decimal, _
    op As ProjectPropertyCompareOperator _
) As Boolean
用法
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
)

参数

返回值

类型:System.Boolean
True如果Decimal的值相等 ;否则为False。

另请参阅

引用

ProjectPropertyComparator 类

ProjectPropertyComparator 成员

Compare 重载

Microsoft.Office.Project.Server.Library 命名空间