SPWeb.LoadApp-Methode

Lädt ein App-Paket, und erstellt eine Instanz von dort.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function LoadApp ( _
    appPackageStream As Stream, _
    installationLocaleLCID As Integer _
) As SPAppInstance
'Usage
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
)

Parameter

  • installationLocaleLCID
    Typ: System.Int32

    Die LCID der das Gebietsschema verwendet, um die app-Instanz erstellen.

Rückgabewert

Typ: Microsoft.SharePoint.Administration.SPAppInstance
Die erstellte AppInstance.

Siehe auch

Referenz

SPWeb Klasse

SPWeb-Member

Microsoft.SharePoint-Namespace