Метод Web.LoadAndInstallAppInSpecifiedLocale
Uploads and installs an App package, in a specified locale.
Пространство имен: 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 LoadAndInstallAppInSpecifiedLocale ( _
appPackageStream As Stream, _
installationLocaleLCID As Integer _
) As AppInstance
'Применение
Dim instance As Web
Dim appPackageStream As Stream
Dim installationLocaleLCID As Integer
Dim returnValue As AppInstance
returnValue = instance.LoadAndInstallAppInSpecifiedLocale(appPackageStream, _
installationLocaleLCID)
public AppInstance LoadAndInstallAppInSpecifiedLocale(
Stream appPackageStream,
int installationLocaleLCID
)
Параметры
appPackageStream
Тип: System.IO.StreamThe stream of the App package.
installationLocaleLCID
Тип: System.Int32The LCID of the locale used to install the app.
Возвращаемое значение
Тип: Microsoft.SharePoint.Client.AppInstance
The created AppInstance.