Writes the content of a buffer to the text writer.

Namespace: MonoSoftware.Core
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public static void Write(
	this TextWriter writer,
	StringBuilder buffer,
	int bufferSize
)
Visual Basic
<ExtensionAttribute> 
Public Shared Sub Write ( 
	writer As TextWriter,
	buffer As StringBuilder,
	bufferSize As Integer
)
Visual C++
public:
[ExtensionAttribute]
static void Write(
	TextWriter^ writer, 
	StringBuilder^ buffer, 
	int bufferSize
)
F#
static member Write : 
        writer : TextWriter * 
        buffer : StringBuilder * 
        bufferSize : int -> unit 

Parameters

writer
Type: System.IO..::..TextWriter
Text writer
buffer
Type: System.Text..::..StringBuilder
String builder buffer
bufferSize
Type: System..::..Int32
Buffer size

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TextWriter. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also