共用方式為


SyntaxFactory.NodeOrTokenList Method

Definition

Overloads

NodeOrTokenList()

Creates an empty SyntaxNodeOrTokenList.

NodeOrTokenList(SyntaxNodeOrToken[])

Create a SyntaxNodeOrTokenList from one or more SyntaxNodeOrToken.

NodeOrTokenList(IEnumerable<SyntaxNodeOrToken>)

Create a SyntaxNodeOrTokenList from a sequence of SyntaxNodeOrToken.

NodeOrTokenList()

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Creates an empty SyntaxNodeOrTokenList.

public:
 static Microsoft::CodeAnalysis::SyntaxNodeOrTokenList NodeOrTokenList();
public static Microsoft.CodeAnalysis.SyntaxNodeOrTokenList NodeOrTokenList ();
static member NodeOrTokenList : unit -> Microsoft.CodeAnalysis.SyntaxNodeOrTokenList
Public Shared Function NodeOrTokenList () As SyntaxNodeOrTokenList

Returns

Applies to

NodeOrTokenList(SyntaxNodeOrToken[])

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Create a SyntaxNodeOrTokenList from one or more SyntaxNodeOrToken.

public:
 static Microsoft::CodeAnalysis::SyntaxNodeOrTokenList NodeOrTokenList(... cli::array <Microsoft::CodeAnalysis::SyntaxNodeOrToken> ^ nodesAndTokens);
public static Microsoft.CodeAnalysis.SyntaxNodeOrTokenList NodeOrTokenList (params Microsoft.CodeAnalysis.SyntaxNodeOrToken[] nodesAndTokens);
static member NodeOrTokenList : Microsoft.CodeAnalysis.SyntaxNodeOrToken[] -> Microsoft.CodeAnalysis.SyntaxNodeOrTokenList
Public Shared Function NodeOrTokenList (ParamArray nodesAndTokens As SyntaxNodeOrToken()) As SyntaxNodeOrTokenList

Parameters

nodesAndTokens
SyntaxNodeOrToken[]

The nodes and tokens

Returns

Applies to

NodeOrTokenList(IEnumerable<SyntaxNodeOrToken>)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Create a SyntaxNodeOrTokenList from a sequence of SyntaxNodeOrToken.

public:
 static Microsoft::CodeAnalysis::SyntaxNodeOrTokenList NodeOrTokenList(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNodeOrToken> ^ nodesAndTokens);
public static Microsoft.CodeAnalysis.SyntaxNodeOrTokenList NodeOrTokenList (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNodeOrToken> nodesAndTokens);
static member NodeOrTokenList : seq<Microsoft.CodeAnalysis.SyntaxNodeOrToken> -> Microsoft.CodeAnalysis.SyntaxNodeOrTokenList
Public Shared Function NodeOrTokenList (nodesAndTokens As IEnumerable(Of SyntaxNodeOrToken)) As SyntaxNodeOrTokenList

Parameters

nodesAndTokens
IEnumerable<SyntaxNodeOrToken>

The sequence of nodes and tokens

Returns

Applies to