Server.Commands.Categorization.Export C# (CSharp) Méthode

Export() public static méthode

public static Export ( CategoryEntry ce, string fileName ) : void
ce CategoryEntry
fileName string
Résultat void
		public static void Export( CategoryEntry ce, string fileName )
		{
			XmlTextWriter xml = new XmlTextWriter( fileName, System.Text.Encoding.UTF8 );

			xml.Indentation = 1;
			xml.IndentChar = '\t';
			xml.Formatting = Formatting.Indented;

			xml.WriteStartDocument( true );

			RecurseExport( xml, ce );

			xml.Flush();
			xml.Close();
		}