Partager via


File.CheckOut - Méthode

Checks out the file from a document library based on the check out type.

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Sub CheckOut
'Utilisation
Dim instance As File

instance.CheckOut()
public void CheckOut()

Exceptions

Exception Condition
[Microsoft.SharePoint.SPFileCheckOutException]

Checkout arguments are not valid. Error code: -2147023436.

[Microsoft.SharePoint.SPFileCheckOutException]

File is already checked out. Error code: -2130575306.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

Voir aussi

Référence

File classe

File - Membres

Microsoft.SharePoint.Client - Espace de noms