RegexCollection.Add Method (Regex)
Adds a regular expression to the end of the RegexCollection.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Function Add ( _
value As Regex _
) As Integer
int Add(
Regex value
)
Parameters
value
Type: System.Text.RegularExpressions.RegexThe regular expression to be added to the end of the RegexCollection.
Return Value
Type: System.Int32
The index at which the value has been added.
.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.