RuleExpressionWalker.Clone(CodeExpression) 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 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
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.