CodeGroup.Children Property

Definition

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

public:
 property System::Collections::IList ^ Children { System::Collections::IList ^ get(); void set(System::Collections::IList ^ value); };
public System.Collections.IList Children { get; set; }
member this.Children : System.Collections.IList with get, set
Public Property Children As IList

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