PrincipalValueCollection<T>.IList.Item[Int32] 屬性

定義

取得位於此集合指定索引處的物件。

property System::Object ^ System::Collections::IList::Item[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
object System.Collections.IList.Item[int index] { get; set; }
object System.Collections.IList.Item[int index] { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
member this.System.Collections.IList.Item(int) : obj with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.System.Collections.IList.Item(int) : obj with get, set
 Property Item(index As Integer) As Object Implements IList.Item

參數

index
Int32

整數。

屬性值

在指定索引上的項目。

實作

屬性

備註

這個成員是明確介面成員實作, 只有在 PrincipalValueCollection<T> 執行個體轉換成 IList 介面時,才能使用這個成員。

適用於