PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelIAttachableDetach­From­Parent
Open sandboxFocus

IAttachable.DetachFromParent Method

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.