CodeGroup.RemoveChild(CodeGroup) 方法

定义

移除指定的子代码组。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)

参数

group
CodeGroup

要作为子级移除的代码组。The code group to be removed as a child.

例外

group 参数不是当前代码组的直接子代码组。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.

适用于