System.IO.IsolatedStorage.TestHelper.WriteAllText C# (CSharp) Méthode

WriteAllText() public static méthode

public static WriteAllText ( this stream, string content ) : void
stream this
content string
Résultat void
        public static void WriteAllText(this IsolatedStorageFileStream stream, string content)
        {
            byte[] buffer = Encoding.UTF8.GetBytes(content);
            stream.Write(buffer, offset: 0, count: buffer.Length);
        }

Same methods

TestHelper::WriteAllText ( this isf, string fileName, string content ) : void