ITextSnapshot.Write Method (TextWriter)
Writes the contents of the snapshot.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaración
Sub Write ( _
writer As TextWriter _
)
void Write(
TextWriter writer
)
void Write(
TextWriter^ writer
)
abstract Write :
writer:TextWriter -> unit
function Write(
writer : TextWriter
)
Parameters
- writer
Type: System.IO.TextWriter
The TextWriter to use.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | writer is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.