MoveCopyUtil.CopyFileByPath method
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Shared Sub CopyFileByPath ( _
context As ClientRuntimeContext, _
srcPath As ResourcePath, _
destPath As ResourcePath, _
overwrite As Boolean, _
options As MoveCopyOptions _
)
'Usage
Dim context As ClientRuntimeContext
Dim srcPath As ResourcePath
Dim destPath As ResourcePath
Dim overwrite As Boolean
Dim options As MoveCopyOptionsMoveCopyUtil.CopyFileByPath(context, srcPath, _
destPath, overwrite, options)
public static void CopyFileByPath(
ClientRuntimeContext context,
ResourcePath srcPath,
ResourcePath destPath,
bool overwrite,
MoveCopyOptions options
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- srcPath
Type: Microsoft.SharePoint.Client.ResourcePath
- destPath
Type: Microsoft.SharePoint.Client.ResourcePath
- overwrite
Type: System.Boolean
- options
Type: Microsoft.SharePoint.Client.MoveCopyOptions