Condividi tramite


SyntaxNodeExtensions.WithoutTrailingTrivia<TSyntax>(TSyntax) Metodo

Definizione

Crea un nuovo nodo da questo nodo con il trivia finale rimosso.

public:
generic <typename TSyntax>
 where TSyntax : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
 static TSyntax WithoutTrailingTrivia(TSyntax node);
public static TSyntax WithoutTrailingTrivia<TSyntax> (this TSyntax node) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
static member WithoutTrailingTrivia : 'Syntax -> 'Syntax (requires 'Syntax :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithoutTrailingTrivia(Of TSyntax As SyntaxNode) (node As TSyntax) As TSyntax

Parametri di tipo

TSyntax

Parametri

node
TSyntax

Restituisce

TSyntax

Si applica a