AttachChild(object, RelationshipInfo, IAttacher, object)
Attaches an item to a parent. This method is typically invoked by implementations of AttachToParent(object, RelationshipInfo, IAttacher, object) to attach items or children to the parent.
Declaration
protected bool AttachChild(object item, RelationshipInfo relationshipInfo, IAttacher attacher, object attacherState)Parameters
| Type | Name | Description |
|---|---|---|
| object | item | The object to attach. |
| RelationshipInfo | relationshipInfo | The relationship of |
| IAttacher | attacher | An interface that represents the parent's ability to attach children. |
| object | attacherState | An opaque state object to be passed to |
Returns
| Type | Description |
|---|---|
| bool |
|