[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Expressions.SyntaxNode.Clone

Clone Method

Clone()

Clones this syntax node.

This method creates a copy of the current formula syntax node by traversing the syntax tree and rebuilding the node structure. If the node is mutable, the returned value is a cloned node. Otherwise, this method returns an equivalent node from the object pool.

Declaration
public SyntaxNode Clone()
Public Function Clone() As SyntaxNode
Returns
Type Description
SyntaxNode

A cloned SyntaxNode if this node is mutable; otherwise, an equivalent node from the object pool.