Share via


SPRemoteAppEventProperties.PreviousVersion property

Gets or sets the previous version of the app when the app is being upgraded.

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

Syntax

'Declaration
<DataMemberAttribute> _
Public Property PreviousVersion As Version
    Get
    Set
'Usage
Dim instance As SPRemoteAppEventProperties
Dim value As Version

value = instance.PreviousVersion

instance.PreviousVersion = value
[DataMemberAttribute]
public Version PreviousVersion { get; set; }

Property value

Type: System.Version
The previous version of the app if it is being upgraded, otherwise, a null reference (Nothing in Visual Basic).

See also

Reference

SPRemoteAppEventProperties class

SPRemoteAppEventProperties members

Microsoft.SharePoint.Client.EventReceivers namespace