Edit

Share via


CodeGroup.RemoveChild(CodeGroup) Method

Definition

Removes the specified child code group.

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

Parameters

group
CodeGroup

The code group to be removed as a child.

Exceptions

The group parameter is not an immediate child code group of the current code group.

Remarks

Only immediate child code groups can be removed with this method.

Applies to