Partager via


Web.LoadApp - Méthode

Uploads an App package and creates an instance from it.

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 LoadApp ( _
    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.LoadApp(appPackageStream, _
    installationLocaleLCID)
public AppInstance LoadApp(
    Stream appPackageStream,
    int installationLocaleLCID
)

Paramètres

  • installationLocaleLCID
    Type : System.Int32

    The LCID of the locale used to create the app instance.

Valeur renvoyée

Type : Microsoft.SharePoint.Client.AppInstance
The created AppInstance.

Voir aussi

Référence

Web classe

Web - Membres

Microsoft.SharePoint.Client - Espace de noms