Compartilhar via


DiagramNode.ReplaceNode Method

Replaces a target diagram node with the source diagram node.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub ReplaceNode ( _
    pTargetNode As DiagramNode _
)
'Usage
Dim instance As DiagramNode
Dim pTargetNode As DiagramNode

instance.ReplaceNode(pTargetNode)
void ReplaceNode(
    DiagramNode pTargetNode
)

Parameters

Remarks

The target diagram node is deleted, and the source diagram node, including any of its child nodes, are moved to where the target diagram node was.

See Also

Reference

DiagramNode Interface

DiagramNode Members

Microsoft.Office.Interop.Excel Namespace