SPFile.CheckedOutDate Property

Gets the date and time that the file was checked out.

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

Syntax

'Declaration
Public ReadOnly Property CheckedOutDate As DateTime
    Get
'Usage
Dim instance As SPFile
Dim value As DateTime

value = instance.CheckedOutDate
public DateTime CheckedOutDate { get; }

Property Value

Type: System.DateTime
A DateTime object that specifies when the file was checked out in Coordinated Universal Time (Greenwich Mean Time).

Remarks

The CheckedOutDate property throws an exception if the CheckOutType property contains SPCheckOutType.None.

A locked document is always checked out.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace