System.IO.Compression.ZipArchiveFile.WriteAllText C# (CSharp) 메소드

WriteAllText() 공개 메소드

Replaces the data in the archiveFile represented by the ZipArchiveFile with the text in 'data'.
public WriteAllText ( string data ) : void
data string The data to replace the archiveFile data with.
리턴 void
        public void WriteAllText(string data)
        {
            TextWriter writer = CreateText();
            writer.Write(data);
            writer.Close();
        }