ProjectPropertyComparator.Contains method (String, String)

Compares two string values to determine whether the second is contained in the first.

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 String, _
    prop2 As String _
) As Boolean
'Usage
Dim prop1 As String
Dim prop2 As String
Dim returnValue As Boolean

returnValue = ProjectPropertyComparator.Contains(prop1, _
    prop2)
public static bool Contains(
    string prop1,
    string prop2
)

Parameters

Return value

Type: System.Boolean
True if the second parameter string occurs within the first parameter string; otherwise, False.

See also

Reference

ProjectPropertyComparator class

ProjectPropertyComparator members

Contains overload

Microsoft.Office.Project.Server.Library namespace