ICommonStructureService.RenameNode Method
Renames the specified node.
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)
Syntax
'Declaration
Sub RenameNode ( _
nodeUri As String, _
newNodeName As String _
)
'Usage
Dim instance As ICommonStructureService
Dim nodeUri As String
Dim newNodeName As String
instance.RenameNode(nodeUri, newNodeName)
void RenameNode(
string nodeUri,
string newNodeName
)
void RenameNode(
String^ nodeUri,
String^ newNodeName
)
function RenameNode(
nodeUri : String,
newNodeName : String
)
Parameters
nodeUri
Type: System.StringThe URI of the node to rename
newNodeName
Type: System.StringThe new name of the node
Remarks
This has the effect of changing the path for this node and the entire branch below this node, so tools hold paths must respond to the CSS change events for RenameNode to reflect the new name. The URI is unaffected, though, so tools that hold only URIs do not need to respond.
.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.
See Also
Reference
ICommonStructureService Interface