Share via


ProjectPropertyComparator.Compare Method (Boolean, Boolean, ProjectPropertyCompareOperator)

Compares two Boolean 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 Boolean, _
    prop2 As Boolean, _
    op As ProjectPropertyCompareOperator _
) As Boolean
'Usage
Dim prop1 As Boolean
Dim prop2 As Boolean
Dim op As ProjectPropertyCompareOperator
Dim returnValue As Boolean

returnValue = ProjectPropertyComparator.Compare(prop1, _
    prop2, op)
public static bool Compare(
    bool prop1,
    bool prop2,
    ProjectPropertyCompareOperator op
)

Parameters

Return Value

Type: System.Boolean
True if the Boolean values are equal; otherwise, False.

See Also

Reference

ProjectPropertyComparator Class

ProjectPropertyComparator Members

Compare Overload

Microsoft.Office.Project.Server.Library Namespace