Freigeben über


RegexCollection.Contains Method (Regex)

Determines whether the RegexCollection contains a specific regular expression.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Function Contains ( _
    value As Regex _
) As Boolean
bool Contains(
    Regex value
)

Parameters

Return Value

Type: System.Boolean
true if the RegexCollection contains the specified value; otherwise, false.

.NET Framework Security

See Also

Reference

RegexCollection Interface

Contains Overload

Microsoft.Office.Tools Namespace