Xceed .NET Libraries Documentation
MoveItemsTo(FileSystemEvents,Object,AbstractFolder,Boolean,Boolean,Boolean,Object[]) Method


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > AbstractFolder Class > MoveItemsTo Method : MoveItemsTo(FileSystemEvents,Object,AbstractFolder,Boolean,Boolean,Boolean,Object[]) Method
A FileSystemEvents object that will be used to raise events. Cannot be a null reference (Nothing in Visual Basic).
Opaque data that will be passed back to the event handler when an event is raised.
An AbstractFolder object into which the folder's content must be moved. Cannot be a null reference (Nothing in Visual Basic).
true if the content of the folders contained in the subfolders should be moved; false if only the current folder's content should be moved.
true if empty subfolders should be included in the move operation; false otherwise.
true if existing files in the destination should be replaced; false otherwise.
An array of objects that can be used to filter the items to be moved.
Moves the folder's items (files with an option to include empty folders or not) to another folder.
Syntax
'Declaration
 
Protected Overloads Sub MoveItemsTo( _
   ByVal events As FileSystemEvents, _
   ByVal userData As Object, _
   ByVal destinationFolder As AbstractFolder, _
   ByVal recursive As Boolean, _
   ByVal includeFolders As Boolean, _
   ByVal replaceExistingFiles As Boolean, _
   ByVal ParamArray filters() As Object _
) 
'Usage
 
Dim instance As AbstractFolder
Dim events As FileSystemEvents
Dim userData As Object
Dim destinationFolder As AbstractFolder
Dim recursive As Boolean
Dim includeFolders As Boolean
Dim replaceExistingFiles As Boolean
Dim filters() As Object
 
instance.MoveItemsTo(events, userData, destinationFolder, recursive, includeFolders, replaceExistingFiles, filters)
protected void MoveItemsTo( 
   FileSystemEvents events,
   object userData,
   AbstractFolder destinationFolder,
   bool recursive,
   bool includeFolders,
   bool replaceExistingFiles,
   params object[] filters
)

Parameters

events
A FileSystemEvents object that will be used to raise events. Cannot be a null reference (Nothing in Visual Basic).
userData
Opaque data that will be passed back to the event handler when an event is raised.
destinationFolder
An AbstractFolder object into which the folder's content must be moved. Cannot be a null reference (Nothing in Visual Basic).
recursive
true if the content of the folders contained in the subfolders should be moved; false if only the current folder's content should be moved.
includeFolders
true if empty subfolders should be included in the move operation; false otherwise.
replaceExistingFiles
true if existing files in the destination should be replaced; false otherwise.
filters
An array of objects that can be used to filter the items to be moved.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AbstractFolder Class
AbstractFolder Members
Overload List