/// <summary> /// Write the end of the document /// </summary> public void WriteEndDocument() { if (CollectionInfo == false) { Writer.WriteEndGroup(); } Writer.Flush(); }