Share via


SPWeb.LastItemModifiedDate property

Gets or sets the date and time that an item was last modified in the site. (Read-only in sandboxed solutions.)

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

Syntax

'Declaration
Public Property LastItemModifiedDate As DateTime
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As DateTime

value = instance.LastItemModifiedDate

instance.LastItemModifiedDate = value
public DateTime LastItemModifiedDate { get; set; }

Property value

Type: System.DateTime
A System.DateTime object that indicates when an item was last modified.

Remarks

The LastItemModifiedDate property applies only to sites that are returned by using one of the GetSubwebsForCurrentUser methods of the SPWeb class.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace