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.

C#
public System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection this[int index] { get; }
C#
public System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection? this[int index] { get; }

Parameters

index
Int32

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

Property Value

The child collection at the specified index.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

Item[String]

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

Gets the child collection at the given name.

C#
public System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection this[string name] { get; }
C#
public System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection? this[string name] { get; }

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

.NET 9 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1