RegexCollection.Add(Regex) Method

Definition

Adds a regular expression to the end of the RegexCollection.

public:
 int Add(System::Text::RegularExpressions::Regex ^ value);
public int Add (System.Text.RegularExpressions.Regex value);
abstract member Add : System.Text.RegularExpressions.Regex -> int
Public Function Add (value As Regex) As Integer

Parameters

value
Regex

The regular expression to be added to the end of the RegexCollection.

Returns

The index at which the value has been added.

Applies to