SourceText.Write Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Write(TextWriter, CancellationToken) |
Write this SourceText to a text writer. |
Write(TextWriter, TextSpan, CancellationToken) |
Write a span of text to a text writer. |
Write(TextWriter, CancellationToken)
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
Write this SourceText to a text writer.
public void Write (System.IO.TextWriter textWriter, System.Threading.CancellationToken cancellationToken = default);
member this.Write : System.IO.TextWriter * System.Threading.CancellationToken -> unit
Public Sub Write (textWriter As TextWriter, Optional cancellationToken As CancellationToken = Nothing)
Parameters
- textWriter
- TextWriter
- cancellationToken
- CancellationToken
Applies to
Write(TextWriter, TextSpan, CancellationToken)
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
Write a span of text to a text writer.
public virtual void Write (System.IO.TextWriter writer, Microsoft.CodeAnalysis.Text.TextSpan span, System.Threading.CancellationToken cancellationToken = default);
abstract member Write : System.IO.TextWriter * Microsoft.CodeAnalysis.Text.TextSpan * System.Threading.CancellationToken -> unit
override this.Write : System.IO.TextWriter * Microsoft.CodeAnalysis.Text.TextSpan * System.Threading.CancellationToken -> unit
Public Overridable Sub Write (writer As TextWriter, span As TextSpan, Optional cancellationToken As CancellationToken = Nothing)
Parameters
- writer
- TextWriter
- span
- TextSpan
- cancellationToken
- CancellationToken
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET