/// <summary> /// Copy to the allocated object. Shared functionality between Clone, Copy constructor, and the assignment operator. /// </summary> protected void CopyTo(TiXmlNode target) { target.SetValue(value); target.userData = userData; }