SyntaxNodeOrToken.WithTrailingTrivia 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
WithTrailingTrivia(SyntaxTrivia[]) | |
WithTrailingTrivia(IEnumerable<SyntaxTrivia>) |
WithTrailingTrivia(SyntaxTrivia[])
public:
Microsoft::CodeAnalysis::SyntaxNodeOrToken WithTrailingTrivia(... cli::array <Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public Microsoft.CodeAnalysis.SyntaxNodeOrToken WithTrailingTrivia (params Microsoft.CodeAnalysis.SyntaxTrivia[] trivia);
member this.WithTrailingTrivia : Microsoft.CodeAnalysis.SyntaxTrivia[] -> Microsoft.CodeAnalysis.SyntaxNodeOrToken
Public Function WithTrailingTrivia (ParamArray trivia As SyntaxTrivia()) As SyntaxNodeOrToken
參數
- trivia
- SyntaxTrivia[]
傳回
適用於
WithTrailingTrivia(IEnumerable<SyntaxTrivia>)
public:
Microsoft::CodeAnalysis::SyntaxNodeOrToken WithTrailingTrivia(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public Microsoft.CodeAnalysis.SyntaxNodeOrToken WithTrailingTrivia (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> trivia);
member this.WithTrailingTrivia : seq<Microsoft.CodeAnalysis.SyntaxTrivia> -> Microsoft.CodeAnalysis.SyntaxNodeOrToken
Public Function WithTrailingTrivia (trivia As IEnumerable(Of SyntaxTrivia)) As SyntaxNodeOrToken
參數
- trivia
- IEnumerable<SyntaxTrivia>