Hexapp Documentation
Hexapp Documentation
Hexapp API
Reference
MicaSystems.Utils
Utils_File Class
Utils_File Methods
CheckAssembliesVersions Method
CheckDirectoryPathValidity Method
CheckInvalidCharacters Method
Copy Method
CopyDirectory Method
CopyDirectoryContent Method
CopyFileFromStream Method
CopyStream Method
CopyStreamFromFile Method
CopyTo Method
FilesAreEqual Method
FilesAreEqual_Hash Method
GetAssembliesVersions Method
GetByteArrayFromStream Method
GetBytes Method
GetDestinationPath Method
GetExtension Method
GetFileContent Method
GetMemoryStream Method
GetOfficeExtensions Method
GetWord2010Extensions Method
GiveFullControlTo Method
IsImageFile Method
IsOfficeFile Method
IsWord2010File Method
ReplaceFileNameInvalidCharacters Method
SaveToFile Method
ToFile Method
ValidateFileName Method
Utils_File
CopyTo Method
Copies a file to a new location.
Namespace:
MicaSystems.Utils
Assembly:
MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
Copy
public
static
void
CopyTo
(
this
FileInfo
file
,
string
folderPath
,
string
fileName
,
bool
overwrite
)
Parameters
file
Type:
System.IO
FileInfo
folderPath
Type:
System
String
fileName
Type:
System
String
overwrite
Type:
System
Boolean
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
FileInfo
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
Utils_File Class
MicaSystems.Utils Namespace
www.hexapp.com
×
Close feedback form
Send us
comments or requests about documentation