Share via


SourceText.ToString Method

Definition

Overloads

ToString()

Provides a string representation of the SourceText.

ToString(TextSpan)

Gets a string containing the characters in specified span.

ToString()

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

Provides a string representation of the SourceText.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

Applies to

ToString(TextSpan)

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

Gets a string containing the characters in specified span.

public:
 virtual System::String ^ ToString(Microsoft::CodeAnalysis::Text::TextSpan span);
public virtual string ToString (Microsoft.CodeAnalysis.Text.TextSpan span);
override this.ToString : Microsoft.CodeAnalysis.Text.TextSpan -> string
Public Overridable Function ToString (span As TextSpan) As String

Parameters

span
TextSpan

Returns

Exceptions

When given span is outside of the text range.

Applies to