SPFile.RequiresCheckout Property

Gets a Boolean value that specifies if the file is in a document library that requires checkout.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property RequiresCheckout As Boolean
    Get
'Usage
Dim instance As SPFile
Dim value As Boolean

value = instance.RequiresCheckout
public bool RequiresCheckout { get; }

Property Value

Type: System.Boolean
true if the file is in a document library that requires checkout; otherwise, false.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace