Condividi tramite


Web.LoadApp method

Uploads an App package and creates an instance from it.

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

Syntax

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

Parameters

  • installationLocaleLCID
    Type: System.Int32

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

Return value

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

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace