SuspendableDocumentNodeChildCopyToMemberT Method |
Copies a document node from another source into a member of this instance.
If an old instance member (provided in myChild exists and can not be used, it is disposed first.
The node is then copied using either Main.ICopyFrom or System.ICloneable. The resulting node's ParentObject
is then set to this instance in order to maintain the parent-child relationship.
Namespace: Altaxo.MainAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax protected bool ChildCopyToMember<T>(
ref T myChild,
T fromAnotherChild
)
where T : IDocumentLeafNode, ICloneable
Parameters
- myChild T
- Reference to a member variable of this instance that holds a child node.
- fromAnotherChild T
- Another child node to copy from. If null, the child node of this instance is also set to null.
Type Parameters
- T
- Type of the node to copy.
Return Value
Boolean[Missing <returns> documentation for "M:Altaxo.Main.SuspendableDocumentNode.ChildCopyToMember``1(``0@,``0)"]
See Also