Web.LoadApp método
Carrega um pacote de Aplicativo e cria uma instância a partir dele.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (em Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (em Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (em Microsoft.SharePoint.Client.dll)
Sintaxe
'Declaração
Public Function LoadApp ( _
appPackageStream As Stream, _
installationLocaleLCID As Integer _
) As AppInstance
'Uso
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
)
Parâmetros
appPackageStream
Tipo: System.IO.StreamO fluxo do pacote de aplicativo.
installationLocaleLCID
Tipo: System.Int32O LCID da localidade usada para criar a instância do aplicativo.
Valor retornado
Tipo: Microsoft.SharePoint.Client.AppInstance
Criada AppInstance.