RegexCollection.Add(Regex) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.