Export (0) Print
Expand All

Workspace.PendRename Method (String, String)

Moves or renames a file or directory.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public int PendRename(
	string oldPath,
	string newPath
)

Parameters

oldPath
Type: System.String

The current path to the item that is being moved or renamed.

newPath
Type: System.String

The new path to the item.

Return Value

Type: System.Int32
The number of items that were moved or renamed.

The oldPath parameter may contain wildcard characters if the target is a directory. The newPath parameter cannot contain wildcard characters. If the target is an existing directory, the source will become a child of the target.

Show:
© 2014 Microsoft