Share via


SPCheckedOutFile.Delete method

Deletes the checked-out file from the site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Delete
'Usage
Dim instance As SPCheckedOutFile

instance.Delete()
public void Delete()

Remarks

This method does not throw an exception if the file does not exist.

See also

Reference

SPCheckedOutFile class

SPCheckedOutFile members

Microsoft.SharePoint namespace