DesignerOptionService.DesignerOptionCollection.Item[String] 属性

定义

在给定索引处获取子集合。Gets the child collection at the given index.

重载

Item[Int32]

在给定索引处获取子集合。Gets the child collection at the given index.

Item[String]

在给定名称处获取子集合。Gets the child collection at the given name.

Item[Int32]

在给定索引处获取子集合。Gets the child collection at the given index.

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; }
member this.Item(int) : System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection
Default Public ReadOnly Property Item(index As Integer) As DesignerOptionService.DesignerOptionCollection

参数

index
Int32

要获取的子集合的索引(索引从零开始)。The zero-based index of the child collection to get.

属性值

指定索引处的子集合。The child collection at the specified index.

Item[String]

在给定名称处获取子集合。Gets the child collection at the given name.

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; }
member this.Item(string) : System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection
Default Public ReadOnly Property Item(name As String) As DesignerOptionService.DesignerOptionCollection

参数

name
String

子集合的名称。The name of the child collection.

属性值

带有由 name 参数指定的名称的子集合,如果未找到该名称,则为 nullThe child collection with the name specified by the name parameter, or null if the name is not found.

注解

名称搜索不区分大小写。The name search is case-insensitive.

适用于