AppInstance.GetPreviousAppVersion 方法

Retrieves the version of the app that is being upgraded from during an upgrade.

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public Function GetPreviousAppVersion As App
用法
Dim instance As AppInstance
Dim returnValue As App

returnValue = instance.GetPreviousAppVersion()
public App GetPreviousAppVersion()

返回值

类型:Microsoft.SharePoint.Client.App
The version of the app being upgraded from. Otherwise, 空引用(无 在 Visual Basic 中).

另请参阅

引用

AppInstance 类

AppInstance 成员

Microsoft.SharePoint.Client 命名空间