LoadApp method
TOC
Collapse the table of content
Expand the table of content

SPWeb.LoadApp method

SharePoint 2013

Uploads an App package and creates an instance from it.

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

'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)

Parameters

appPackageStream
Type: System.IO.Stream

The stream of the App package.

installationLocaleLCID
Type: System.Int32

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

Return value

Type: Microsoft.SharePoint.Administration.SPAppInstance
The created AppInstance.
Show:
© 2016 Microsoft