SeparatedSyntaxList<TNode>.Add(TNode) Method

Definition

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

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

Parameters

node
TNode

The node to add.

Returns

Applies to