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