MoveCopyUtil.CopyFile - Méthode (ClientRuntimeContext, String, String, Boolean)
Espace de noms : Microsoft.SharePoint.Client
Assembly : Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Shared Sub CopyFile ( _
context As ClientRuntimeContext, _
srcUrl As String, _
destUrl As String, _
overwrite As Boolean _
)
'Utilisation
Dim context As ClientRuntimeContext
Dim srcUrl As String
Dim destUrl As String
Dim overwrite As Boolean
MoveCopyUtil.CopyFile(context, srcUrl, destUrl, _
overwrite)
public static void CopyFile(
ClientRuntimeContext context,
string srcUrl,
string destUrl,
bool overwrite
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- srcUrl
Type : System.String
- destUrl
Type : System.String
- overwrite
Type : System.Boolean