SPItemEventProperties.ListItemVersionType property

Gets the type of historical version of the list item for which the event applies.

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

Syntax

'Declaration
Public ReadOnly Property ListItemVersionType As SPEventReceiverListItemVersionType
    Get
'Usage
Dim instance As SPItemEventProperties
Dim value As SPEventReceiverListItemVersionType

value = instance.ListItemVersionType
public SPEventReceiverListItemVersionType ListItemVersionType { get; }

Property value

Type: Microsoft.SharePoint.SPEventReceiverListItemVersionType
A 32-bit integer that represents the type of historical version of the list item.

Remarks

This property is only used with ItemVersionDeleting and ItemVersionDeleted events.

See also

Reference

SPItemEventProperties class

SPItemEventProperties members

Microsoft.SharePoint namespace