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)

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