SPWeb.LoadApp method
Carrega um pacote de aplicativo e cria uma instância dele.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Function LoadApp ( _
appPackageStream As Stream, _
installationLocaleLCID As Integer _
) As SPAppInstance
'Uso
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
)
Parâmetros
appPackageStream
Type: System.IO.StreamO fluxo do pacote do aplicativo.
installationLocaleLCID
Type: System.Int32O LCID da localidade usada para criar a instância do aplicativo.
Valor retornado
Type: Microsoft.SharePoint.Administration.SPAppInstance
AppInstance criado.