語言

ReadOnlyStringCollection.Item[Int32] 屬性

定義

在這個集合中得到一個 String 物件。

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

參數

index
Int32

要取得的物件的 String 零基索引。

屬性值

存在 String 於指定索引的物件。

例外狀況

指定的 不 index 在集合範圍內。

適用於

另請參閱