DesignerOptionService.DesignerOptionCollection.Item[] 属性

定义

在给定索引处获取子集合。

重载

Item[Int32]

在给定索引处获取子集合。

Item[String]

在给定名称处获取子集合。

Item[Int32]

Source:
DesignerOptionService.cs
Source:
DesignerOptionService.cs
Source:
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]

Source:
DesignerOptionService.cs
Source:
DesignerOptionService.cs
Source:
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

注解

名称搜索不区分大小写。

适用于