Sdílet prostřednictvím


SyntaxList<TNode>.Add(TNode) Method

Definition

Creates a new list with the specified node added at the end.

public:
 Microsoft::CodeAnalysis::SyntaxList<TNode> Add(TNode node);
public Microsoft.CodeAnalysis.SyntaxList<TNode> Add (TNode node);
member this.Add : 'Node -> Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)>
Public Function Add (node As TNode) As SyntaxList(Of TNode)

Parameters

node
TNode

The node to add.

Returns

Applies to