Web.LoadAndInstallAppInSpecifiedLocale - Méthode
Uploads and installs an App package, in a specified locale.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Function LoadAndInstallAppInSpecifiedLocale ( _
appPackageStream As Stream, _
installationLocaleLCID As Integer _
) As AppInstance
'Utilisation
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
)
Paramètres
appPackageStream
Type : System.IO.StreamThe stream of the App package.
installationLocaleLCID
Type : System.Int32The LCID of the locale used to install the app.
Valeur renvoyée
Type : Microsoft.SharePoint.Client.AppInstance
The created AppInstance.