Condividi tramite


ITextSnapshot.Write Method (TextWriter, Span)

Writes a substring of the contents of the snapshot.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Dichiarazione
Sub Write ( _
    writer As TextWriter, _
    span As Span _
)
void Write(
    TextWriter writer,
    Span span
)
void Write(
    TextWriter^ writer, 
    Span span
)
abstract Write : 
        writer:TextWriter * 
        span:Span -> unit 
function Write(
    writer : TextWriter, 
    span : Span
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

writer is nulla null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

The end of the span is greater than the length of the snapshot.

.NET Framework Security

See Also

Reference

ITextSnapshot Interface

Write Overload

Microsoft.VisualStudio.Text Namespace