Click or drag to resize

BlockStatementReplace Method

Replace the specified CodeObject with a new one.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public bool Replace(
	CodeObject oldObject,
	CodeObject newObject
)

Parameters

oldObject
Type: Nova.CodeDOMCodeObject
newObject
Type: Nova.CodeDOMCodeObject

Return Value

Type: Boolean
True if the code object was found and replaced, otherwise false.
See Also