Share via


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

See also

Reference

MoveCopyUtil class

MoveCopyUtil members

Microsoft.SharePoint.Client namespace