SyntaxFactory.TriviaList Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TriviaList() |
Creates an empty list of trivia. |
TriviaList(SyntaxTrivia) |
Creates a singleton list of trivia. |
TriviaList(SyntaxTrivia[]) |
Creates a list of trivia. |
TriviaList(IEnumerable<SyntaxTrivia>) |
Creates a list of trivia. |
TriviaList()
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
Creates an empty list of trivia.
public:
static Microsoft::CodeAnalysis::SyntaxTriviaList TriviaList();
public static Microsoft.CodeAnalysis.SyntaxTriviaList TriviaList ();
static member TriviaList : unit -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function TriviaList () As SyntaxTriviaList
Returns
Applies to
TriviaList(SyntaxTrivia)
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
Creates a singleton list of trivia.
public:
static Microsoft::CodeAnalysis::SyntaxTriviaList TriviaList(Microsoft::CodeAnalysis::SyntaxTrivia trivia);
public static Microsoft.CodeAnalysis.SyntaxTriviaList TriviaList (Microsoft.CodeAnalysis.SyntaxTrivia trivia);
static member TriviaList : Microsoft.CodeAnalysis.SyntaxTrivia -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function TriviaList (trivia As SyntaxTrivia) As SyntaxTriviaList
Parameters
- trivia
- SyntaxTrivia
A single trivia.
Returns
Applies to
TriviaList(SyntaxTrivia[])
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
Creates a list of trivia.
public:
static Microsoft::CodeAnalysis::SyntaxTriviaList TriviaList(... cli::array <Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivias);
public static Microsoft.CodeAnalysis.SyntaxTriviaList TriviaList (params Microsoft.CodeAnalysis.SyntaxTrivia[] trivias);
static member TriviaList : Microsoft.CodeAnalysis.SyntaxTrivia[] -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function TriviaList (ParamArray trivias As SyntaxTrivia()) As SyntaxTriviaList
Parameters
- trivias
- SyntaxTrivia[]
An array of trivia.
Returns
Applies to
TriviaList(IEnumerable<SyntaxTrivia>)
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
Creates a list of trivia.
public:
static Microsoft::CodeAnalysis::SyntaxTriviaList TriviaList(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivias);
public static Microsoft.CodeAnalysis.SyntaxTriviaList TriviaList (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> trivias);
static member TriviaList : seq<Microsoft.CodeAnalysis.SyntaxTrivia> -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function TriviaList (trivias As IEnumerable(Of SyntaxTrivia)) As SyntaxTriviaList
Parameters
- trivias
- IEnumerable<SyntaxTrivia>
A sequence of trivia.
Returns
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.