ReadOnlyStringCollection.Item[Int32] Propriedade

Definição

Obtém um objeto String nesta coleção.Gets a String object in this collection.

public:
 property System::String ^ default[int] { System::String ^ get(int index); };
public string this[int index] { get; }
member this.Item(int) : string
Default Public ReadOnly Property Item(index As Integer) As String

Parâmetros

index
Int32

O índice baseado em zero do objeto String a ser obtido.The zero-based index of the String object to get.

Valor da propriedade

String

O String objeto que existe no índice especificado.The String object that exists at the specified index.

Exceções

O index especificado está fora do intervalo da coleção.The index specified is out of range of the collection.

Aplica-se a

Confira também