SPFile.CheckOutStatus property

NOTE: This API is now obsolete.

This property is obsolete. Use CheckOutType instead.

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

[ObsoleteAttribute("SPFile.CheckOutStatus is obsolete. Use SPFile.CheckOutType instead.")]
public SPFile.SPCheckOutStatus CheckOutStatus { get; }

Property value

Type: Microsoft.SharePoint.SPFile.SPCheckOutStatus
A value that indicates the status of the checkout.

Use the CheckOutStatus property to determine whether a file is locked and checked out.

A short-term checkout, known as file-locking, only has effect as long as the application renews the lock.