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

public bool RequiresCheckout { get; }

Property Value

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