Partilhar 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallablePropertyAttribute(SetProperty := False)> _
Public Property LastItemModifiedDate As DateTime
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As DateTime

value = instance.LastItemModifiedDate

instance.LastItemModifiedDate = value
[ClientCallablePropertyAttribute(SetProperty = false)]
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