SeparatedSyntaxList<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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.