Share via


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

See also

Reference

MoveCopyUtil class

MoveCopyUtil members

Microsoft.SharePoint.Client namespace