Delen via


SyntaxTrivia.ToFullString Method

Definition

Returns the full string representation of this trivia. If this trivia is structured trivia then the returned string will include any leading or trailing trivia present on the StructuredTriviaSyntax node of this trivia.

public:
 System::String ^ ToFullString();
public string ToFullString ();
member this.ToFullString : unit -> string
Public Function ToFullString () As String

Returns

The full string representation of this trivia.

Remarks

The length of the returned string is always the same as FullSpan.Length

Applies to