CodeGroup.RemoveChild Method (CodeGroup)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes the specified child code group.

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

public void RemoveChild(
	CodeGroup group
)

Parameters

group
Type: System.Security.Policy.CodeGroup

The code group to be removed as a child.

Exception Condition
ArgumentException

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

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

.NET Framework
Available since 1.1
Return to top
Show: