SPWeb.LoadApp - Méthode

Télécharge un package d'application et crée une instance de celle-ci.

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

Syntaxe

'Déclaration
Public Function LoadApp ( _
    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.LoadApp(appPackageStream, _
    installationLocaleLCID)
public SPAppInstance LoadApp(
    Stream appPackageStream,
    int installationLocaleLCID
)

Paramètres

  • installationLocaleLCID
    Type : System.Int32

    LCID des paramètres régionaux utilisé pour créer l'instance d'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