SPFile.CheckedOutDate property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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