MoveCopyUtil.MoveFileByPath method
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Shared Sub MoveFileByPath ( _
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.MoveFileByPath(context, srcPath, _
destPath, overwrite, options)
public static void MoveFileByPath(
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