Bewerken

Delen via


DesignerOptionService.DesignerOptionCollection.Item[] Property

Definition

Gets the child collection at the given index.

Overloads

Item[Int32]

Gets the child collection at the given index.

Item[String]

Gets the child collection at the given name.

Item[Int32]

Source:
DesignerOptionService.cs
Source:
DesignerOptionService.cs
Source:
DesignerOptionService.cs

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; }
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

Parameters

index
Int32

The zero-based index of the child collection to get.

Property Value

The child collection at the specified index.

Applies to

Item[String]

Source:
DesignerOptionService.cs
Source:
DesignerOptionService.cs
Source:
DesignerOptionService.cs

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; }
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

Parameters

name
String

The name of the child collection.

Property Value

The child collection with the name specified by the name parameter, or null if the name is not found.

Remarks

The name search is case-insensitive.

Applies to