CodeGroup.Children Property

Definition

Gets or sets an ordered list of the child code groups of a code group.

C#
public System.Collections.IList Children { get; set; }

Property Value

A list of child code groups.

Exceptions

An attempt is made to set this property to null.

An attempt is made to set this property with a list of children that are not CodeGroup objects.

Remarks

The order of child code groups is significant for certain code groups.

Note

The return value is a copy of the child code list. Do not use the returned list to add a child code group; instead, use the AddChild method.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 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 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10