MatchCollection.IList<Match>.Item[Int32] Vlastnost

Definice

Získá prvek na pozici zadaného indexu.

property System::Text::RegularExpressions::Match ^ System::Collections::Generic::IList<System::Text::RegularExpressions::Match>::Item[int] { System::Text::RegularExpressions::Match ^ get(int index); void set(int index, System::Text::RegularExpressions::Match ^ value); };
System.Text.RegularExpressions.Match System.Collections.Generic.IList<System.Text.RegularExpressions.Match>.Item[int index] { get; set; }
member this.System.Collections.Generic.IList<System.Text.RegularExpressions.Match>.Item(int) : System.Text.RegularExpressions.Match with get, set
 Property Item(index As Integer) As Match Implements IList(Of Match).Item

Parametry

index
Int32

Index od nuly prvku, který chcete získat.

Hodnota vlastnosti

Prvek na pozici zadaného indexu.

Implementuje

Poznámky

Tato vlastnost poskytuje možnost přístupu ke konkrétnímu prvku v kolekci pomocí následující syntaxe: myCollection[index]. Jazyk C# používá toto klíčové slovo k definování indexerů místo implementace Item[] vlastnosti . Visual Basic implementuje Item[] jako výchozí vlastnost, která poskytuje stejné funkce indexování.

Platí pro