RegexCollection.Item[Int32] Property
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.
Gets or sets the regular expression at the specified index.
public:
property System::Text::RegularExpressions::Regex ^ default[int] { System::Text::RegularExpressions::Regex ^ get(int index); void set(int index, System::Text::RegularExpressions::Regex ^ value); };
public System.Text.RegularExpressions.Regex this[int index] { get; set; }
member this.Item(int) : System.Text.RegularExpressions.Regex with get, set
Default Public Property Item(index As Integer) As Regex
Parameters
- index
- Int32
The zero-based index of the regular expression to get or set.
Property Value
The Regex at the specified index.
Exceptions
index
is less than zero.-or-
index
is equal to or greater than Count.