Graph.RenameNode Method (GraphNode, GraphNodeId)
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.GraphNode
- targetNodeId
Type: Microsoft.VisualStudio.GraphModel.GraphNodeId
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphNode
.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.