DetachFromParent(object, object, RelationshipInfo)
Detaches an object from its parent object.
Declaration
public virtual bool DetachFromParent(object obj, object parent, RelationshipInfo relationshipInfo)Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | An instance of the adapted type. |
| object | parent | The object from which |
| RelationshipInfo | relationshipInfo | Relationship of |
Returns
| Type | Description |
|---|---|
| bool |
|
Remarks
This method is equivalent to DetachFromParent().
Implementations of this method can use the DetachChild(object, object, RelationshipInfo) method to detach items from the parent.