Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- value
Type: System.Text.RegularExpressions.Regex
The regular expression to locate in the RegexCollection.
Return Value
Type: System.Boolean
true if the RegexCollection contains the specified value; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.