public void CopySubtreeTo(PropertyTreeWriter writer) { if (writer == null) { throw new ArgumentNullException("writer"); // $NON-NLS-1 } writer.CopyCurrent(this); writer.ReadSubtree(this); }
public void CopyTo(PropertyTreeWriter writer) { if (writer == null) { throw new ArgumentNullException("writer"); // $NON-NLS-1 } // Move past initial implicitly StartImplicitly(); writer.CopyCurrent(this); writer.ReadToEnd(this); }