ProjectPropertyComparator.Compare Method (Guid[], Guid , ProjectPropertyCompareOperator)
Compares two arrays of GUID 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 Guid(), _
prop2 As Guid(), _
op As ProjectPropertyCompareOperator _
) As Boolean
'Usage
Dim prop1 As Guid()
Dim prop2 As Guid()
Dim op As ProjectPropertyCompareOperator
Dim returnValue As Boolean
returnValue = ProjectPropertyComparator.Compare(prop1, _
prop2, op)
public static bool Compare(
Guid[] prop1,
Guid[] prop2,
ProjectPropertyCompareOperator op
)
Parameters
- prop1
Type: []
The first array of GUID values to be compared.
- prop2
Type: []
The second array of GUID values to be compared.
- op
Type: Microsoft.Office.Project.Server.Library.ProjectPropertyCompareOperator
The comparison operator. This Compare overload supports only the Contains, DoesNotContain, and Equal operations.
Return Value
Type: System.Boolean
True if the GUID arrays are equal; otherwise, False.
See Also
Reference
ProjectPropertyComparator Class