SPFile.CheckedOutDate property

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

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

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

value = instance.CheckedOutDate

Property value

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

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

A locked document is always checked out.

Show: