Method GetFormattedText
GetFormattedText(SyntaxNode)
Formats content of specified SyntaxNode accordingly to language rules of the document.
public static string GetFormattedText(SyntaxNode node)
Parameters
node
SyntaxNodeSyntaxNode to format.
Returns
- string
Formatted sting that contains a SyntaxNode.