Partager via


Web.LoadAndInstallApp - Méthode

Uploads and installs an app package to this site.

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 LoadAndInstallApp ( _
    appPackageStream As Stream _
) As AppInstance
'Utilisation
Dim instance As Web
Dim appPackageStream As Stream
Dim returnValue As AppInstance

returnValue = instance.LoadAndInstallApp(appPackageStream)
public AppInstance LoadAndInstallApp(
    Stream appPackageStream
)

Paramètres

Valeur renvoyée

Type : Microsoft.SharePoint.Client.AppInstance
A reference to the Appinstance.

Remarques

This site must be enabled for remote development.

Voir aussi

Référence

Web classe

Web - Membres

Microsoft.SharePoint.Client - Espace de noms