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

Return Value

Type: System.Int32
The index at which the value has been added.

.NET Framework Security

See Also

Reference

RegexCollection Interface

Add Overload

Microsoft.Office.Tools Namespace