RegexCollection.Item[Int32] Property

Definition

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.

Applies to