ProjectPropertyComparator.Contains method (Guid[], Guid)

Searches for the specified GUID value in an array of GUIDs.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Shared Function Contains ( _
    prop1 As Guid(), _
    prop2 As Guid _
) As Boolean
'Usage
Dim prop1 As Guid()
Dim prop2 As Guid
Dim returnValue As Boolean

returnValue = ProjectPropertyComparator.Contains(prop1, _
    prop2)
public static bool Contains(
    Guid[] prop1,
    Guid prop2
)

Parameters

  • prop1
    Type: []

    An array of GUID values.

Return value

Type: System.Boolean
Returns True if the GUID array contains the specified GUID value; otherwise False.

See also

Reference

ProjectPropertyComparator class

ProjectPropertyComparator members

Contains overload

Microsoft.Office.Project.Server.Library namespace