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