Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Renames a Node in the Graph (clones to new Node and removed original).
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function RenameNode ( _
existingNode As GraphNode, _
targetNodeId As GraphNodeId _
) As GraphNode
public GraphNode RenameNode(
GraphNode existingNode,
GraphNodeId targetNodeId
)
public:
GraphNode^ RenameNode(
GraphNode^ existingNode,
GraphNodeId^ targetNodeId
)
member RenameNode :
existingNode:GraphNode *
targetNodeId:GraphNodeId -> GraphNode
public function RenameNode(
existingNode : GraphNode,
targetNodeId : GraphNodeId
) : GraphNode
Parameters
existingNode
Type: Microsoft.VisualStudio.GraphModel.GraphNodeNode to rename.
targetNodeId
Type: Microsoft.VisualStudio.GraphModel.GraphNodeIdID of the new Node.
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphNode
The new node with the new ID (all other properties and categories copied from original, including all Links).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.