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
prop1
Type: System.StringThe first string to be compared.
prop2
Type: System.StringThe second string to be compared.
Return value
Type: System.Boolean
True if the second parameter string occurs within the first parameter string; otherwise, False.
See also
Reference
ProjectPropertyComparator class