SPWeb.LoadAndInstallAppInSpecifiedLocale - Méthode

Télécharge et installe un package d'application, dans les paramètres régionaux spécifié.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Function LoadAndInstallAppInSpecifiedLocale ( _
    appPackageStream As Stream, _
    installationLocaleLCID As Integer _
) As SPAppInstance
'Utilisation
Dim instance As SPWeb
Dim appPackageStream As Stream
Dim installationLocaleLCID As Integer
Dim returnValue As SPAppInstance

returnValue = instance.LoadAndInstallAppInSpecifiedLocale(appPackageStream, _
    installationLocaleLCID)
public SPAppInstance LoadAndInstallAppInSpecifiedLocale(
    Stream appPackageStream,
    int installationLocaleLCID
)

Paramètres

  • installationLocaleLCID
    Type : System.Int32

    LCID de paramètres régionaux utilisé pour installer l'application.

Valeur renvoyée

Type : Microsoft.SharePoint.Administration.SPAppInstance
Le AppInstance créé.

Voir aussi

Référence

SPWeb classe

SPWeb - Membres

Microsoft.SharePoint - Espace de noms