Edit

Share via


RuleExpressionWalker.Clone(CodeExpression) Method

Definition

Creates a deep copy of the child nodes of the current CodeExpression.

public:
 static System::CodeDom::CodeExpression ^ Clone(System::CodeDom::CodeExpression ^ originalExpression);
public static System.CodeDom.CodeExpression Clone (System.CodeDom.CodeExpression originalExpression);
static member Clone : System.CodeDom.CodeExpression -> System.CodeDom.CodeExpression
Public Shared Function Clone (originalExpression As CodeExpression) As CodeExpression

Parameters

originalExpression
CodeExpression

The expression that the clone is based on.

Returns

A CodeExpression that is identical to this instance.

Applies to