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