CodeGroup.AddChild(CodeGroup) Method

Definition

Adds a child code group to the current code group.

public:
 void AddChild(System::Security::Policy::CodeGroup ^ group);
public void AddChild (System.Security.Policy.CodeGroup group);
member this.AddChild : System.Security.Policy.CodeGroup -> unit
Public Sub AddChild (group As CodeGroup)

Parameters

group
CodeGroup

The code group to be added as a child. This new child code group is added to the end of the list.

Exceptions

The group parameter is null.

The group parameter is not a valid code group.

Applies to