'Declaration Public Overloads Function MoveTo( _ ByVal destinationFile As AbstractFile, _ ByVal replaceIfExists As Boolean _ ) As FileSystemItem
'Usage Dim instance As AbstractFile Dim destinationFile As AbstractFile Dim replaceIfExists As Boolean Dim value As FileSystemItem value = instance.MoveTo(destinationFile, replaceIfExists)
public FileSystemItem MoveTo( AbstractFile destinationFile, bool replaceIfExists )
Parameters
- destinationFile
- An AbstractFile object into which the contents of the item will be moved. Cannot be a null reference (Nothing in Visual Basic).
- replaceIfExists
- true if existing items in the destination should be replaced; false otherwise.
Return Value
A FileSystemItem object that represents the newly moved item.