DomainUpDown.DomainUpDownItemCollection.Item[Int32] 屬性

定義

取得或設定在集合的指定索引處的項目。

public:
 virtual property System::Object ^ default[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
[System.ComponentModel.Browsable(false)]
public override object this[int index] { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Item(int) : obj with get, set
Default Public Overrides Property Item(index As Integer) As Object

參數

index
Int32

在集合中項目的索引位置。

屬性值

Object,表示位在指定索引處的項目。

屬性

備註

若要將專案指派給特定位置,或從 DomainUpDown.DomainUpDownItemCollection 擷取這些專案,您可以使用特定的索引值來參考集合物件。 的 DomainUpDown.DomainUpDownItemCollection 索引值是以零起始的索引。

適用於

另請參閱