SyntaxTriviaList.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Create(SyntaxTrivia) | |
Create(ReadOnlySpan<SyntaxTrivia>) |
Create(SyntaxTrivia)
public:
static Microsoft::CodeAnalysis::SyntaxTriviaList Create(Microsoft::CodeAnalysis::SyntaxTrivia trivia);
public static Microsoft.CodeAnalysis.SyntaxTriviaList Create (Microsoft.CodeAnalysis.SyntaxTrivia trivia);
static member Create : Microsoft.CodeAnalysis.SyntaxTrivia -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function Create (trivia As SyntaxTrivia) As SyntaxTriviaList
參數
- trivia
- SyntaxTrivia
傳回
適用於
Create(ReadOnlySpan<SyntaxTrivia>)
public static Microsoft.CodeAnalysis.SyntaxTriviaList Create (ReadOnlySpan<Microsoft.CodeAnalysis.SyntaxTrivia> trivias);
static member Create : ReadOnlySpan<Microsoft.CodeAnalysis.SyntaxTrivia> -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function Create (trivias As ReadOnlySpan(Of SyntaxTrivia)) As SyntaxTriviaList
參數
- trivias
- ReadOnlySpan<SyntaxTrivia>