System.IO.TextWriter.TextWriter.Write C# (CSharp) Méthode

Write() public méthode

public Write ( char buffer, int index, int count ) : void
buffer char
index int
count int
Résultat void
                public virtual void Write (char[] buffer, int index, int count)
		{
			if (buffer == null)
				throw new ArgumentNullException ("buffer");
			if (index < 0 || index > buffer.Length)
				throw new ArgumentOutOfRangeException ("index");
			// re-ordered to avoid possible integer overflow
			if (count < 0 || (index > buffer.Length - count))
				throw new ArgumentOutOfRangeException ("count");

			for (; count > 0; --count, ++index) {
				Write (buffer [index]);
			}
		}
		

Same methods

TextWriter.TextWriter::Write ( bool value ) : void
TextWriter.TextWriter::Write ( char value ) : void
TextWriter.TextWriter::Write ( decimal value ) : void
TextWriter.TextWriter::Write ( double value ) : void
TextWriter.TextWriter::Write ( float value ) : void
TextWriter.TextWriter::Write ( int value ) : void
TextWriter.TextWriter::Write ( long value ) : void
TextWriter.TextWriter::Write ( object value ) : void
TextWriter.TextWriter::Write ( string value ) : void
TextWriter.TextWriter::Write ( string format, object arg0 ) : void
TextWriter.TextWriter::Write ( string format, object arg0, object arg1 ) : void
TextWriter.TextWriter::Write ( string format, object arg0, object arg1, object arg2 ) : void
TextWriter.TextWriter::Write ( uint value ) : void
TextWriter.TextWriter::Write ( ulong value ) : void