SyntaxList<TNode>.Add(TNode) 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.
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.