共用方式為


DesignerOptionService.DesignerOptionCollection.Item[] 屬性

定義

取得指定索引處的子集合。

多載

Item[Int32]

取得指定索引處的子集合。

Item[String]

取得指定名稱處的子集合。

Item[Int32]

來源:
DesignerOptionService.cs
來源:
DesignerOptionService.cs
來源:
DesignerOptionService.cs

取得指定索引處的子集合。

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]

來源:
DesignerOptionService.cs
來源:
DesignerOptionService.cs
來源:
DesignerOptionService.cs

取得指定名稱處的子集合。

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

備註

名稱搜尋不區分大小寫。

適用於