Share via


SPWeb.LoadAndInstallAppInSpecifiedLocale method

Carrega e instala um pacote de aplicativo em uma localidade específica.

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

Syntax

'Declaração
Public Function LoadAndInstallAppInSpecifiedLocale ( _
    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.LoadAndInstallAppInSpecifiedLocale(appPackageStream, _
    installationLocaleLCID)
public SPAppInstance LoadAndInstallAppInSpecifiedLocale(
    Stream appPackageStream,
    int installationLocaleLCID
)

Parâmetros

  • installationLocaleLCID
    Type: System.Int32

    O LCID da localidade usada para instalar o aplicativo.

Valor retornado

Type: Microsoft.SharePoint.Administration.SPAppInstance
AppInstance criado.

Ver também

Referência

SPWeb class

SPWeb members

Microsoft.SharePoint namespace