DesignerOptionService.DesignerOptionCollection.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定索引的子集合。
多載
| 名稱 | Description |
|---|---|
| Item[Int32] |
取得指定索引的子集合。 |
| Item[String] |
會取得子集,從名字處取得。 |
Item[Int32]
取得指定索引的子集合。
public:
property System::ComponentModel::Design::DesignerOptionService::DesignerOptionCollection ^ default[int] { System::ComponentModel::Design::DesignerOptionService::DesignerOptionCollection ^ get(int index); };
public System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection? this[int index] { get; }
public System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection this[int index] { get; }
member this.Item(int) : System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection
Default Public ReadOnly Property Item(index As Integer) As DesignerOptionService.DesignerOptionCollection
參數
- index
- Int32
子集合的零基索引,得到。
屬性值
指定索引的子集合。
適用於
Item[String]
會取得子集,從名字處取得。
public:
property System::ComponentModel::Design::DesignerOptionService::DesignerOptionCollection ^ default[System::String ^] { System::ComponentModel::Design::DesignerOptionService::DesignerOptionCollection ^ get(System::String ^ name); };
public System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection? this[string name] { get; }
public System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection this[string name] { get; }
member this.Item(string) : System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection
Default Public ReadOnly Property Item(name As String) As DesignerOptionService.DesignerOptionCollection
參數
- name
- String
兒童收藏的名稱。
屬性值
由參數指定的 name 子集合,或 null 若找不到該名稱,則為該集合。
備註
姓名搜尋不區分大小寫。