Compartilhar via


SPFile.CheckOutType Property

Gets a value that indicates how the file is checked out of a document library.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property CheckOutType As SPFile.SPCheckOutType
    Get
'Usage
Dim instance As SPFile
Dim value As SPFile.SPCheckOutType

value = instance.CheckOutType
[ClientCallableAttribute]
public SPFile.SPCheckOutType CheckOutType { get; }

Property Value

Type: Microsoft.SharePoint.SPFile.SPCheckOutType
One of the enumeration values that specifies the type of checkout.

Remarks

The checkout state of a file is independent of its locked state.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace

LockType

CheckOut(SPFile.SPCheckOutType, String)