PostSharp//API Reference/Post­Sharp.​Patterns.​Model/IAttachable/Detach­From­Parent
Open sandboxFocus

Method DetachFromParent

DetachFromParent()

Detaches the current object from its parent object.

Declaration
bool DetachFromParent()
Returns
Type Description
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.