PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Model Namespace/IAttachable Interface/IAttachable Methods/IAttachable.​Detach­From­Parent Method

IAttachable.DetachFromParent Method

Detaches the current object from its parent object.

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
bool DetachFromParent()

Return Value

Type: Boolean
true if the current object has been fully detached, i.e. is no longer attached to its parent by any other relationship, or false if the current object is still attached to the parent by some relationship.
See Also