Copies recursively from the source directory to the target (nonexistent) directory.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Shared Sub RecursivelyCopyDirectory ( _
source As String, _
target As String _
)
'使用
Dim source As String
Dim target As String
Utilities.RecursivelyCopyDirectory(source, _
target)
public static void RecursivelyCopyDirectory(
string source,
string target
)
public:
static void RecursivelyCopyDirectory(
String^ source,
String^ target
)
public static function RecursivelyCopyDirectory(
source : String,
target : String
)
Parameters
source
Type: System.StringThe path of the source directory.
target
Type: System.StringThe target directory.
Remarks
If the target directory already exists, this method will throw an ApplicationException.
Permissions
- 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.