SuspendableDocumentNodeChildCloneToMemberAltT Method | 
            Set a member variable that holds a child node of this instance. The child node may or may not implement 
IDocumentLeafNode.
            The value to set may or may not implement 
ICloneable. If it implements 
ICloneable, then the member variable is
            set to a clone of the value. Otherwise, the member variable is set directly with the value.
            It helps to ensure the correct order: first, the child node is set to the new instance and then the  old child node is disposed.
            
 Namespace: Altaxo.MainAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxprotected bool ChildCloneToMemberAlt<T>(
	ref T childNode,
	T instanceToSet
)
Parameters
- childNode  T
 - The child node member variable to set.
 - instanceToSet  T
 - The instance to set the variable with. If it implements ICloneable, a clone of this value is used to set the member variable; otherwise, this value is used directly.
 
Type Parameters
- T
 - Type of child node.
 
Return Value
BooleanTrue if the child has been set. If the old child reference equals to the new child, nothing is done, and 
false is returned.
See Also