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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("SPFile.CheckOutStatus is obsolete. Use SPFile.CheckOutType instead.")> _
Public ReadOnly Property CheckOutStatus As SPFile.SPCheckOutStatus
    Get
'Usage
Dim instance As SPFile
Dim value As SPFile.SPCheckOutStatus

value = instance.CheckOutStatus
[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.

Remarks

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.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace