SPFile.CheckOutExpires property

NOTE: This API is now obsolete.

This property is obsolete. Use LockExpires instead.

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

Syntax

'Declaration
<ObsoleteAttribute("SPFile.CheckOutExpires is obsolete. Use SPFile.LockExpires instead.")> _
Public ReadOnly Property CheckOutExpires As DateTime
    Get
'Usage
Dim instance As SPFile
Dim value As DateTime

value = instance.CheckOutExpires
[ObsoleteAttribute("SPFile.CheckOutExpires is obsolete. Use SPFile.LockExpires instead.")]
public DateTime CheckOutExpires { get; }

Property value

Type: System.DateTime
A DateTime object that specifies when the checkout expires.

Remarks

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

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace