共用方式為


Web.LoadApp 方法

上傳應用程式套件,並從中建立執行個體。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public Function LoadApp ( _
    appPackageStream As Stream, _
    installationLocaleLCID As Integer _
) As AppInstance
'用途
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
)

參數

  • installationLocaleLCID
    類型:System.Int32

    LCID 的用來建立的應用程式執行個體的地區設定。

傳回值

類型:Microsoft.SharePoint.Client.AppInstance
建立的AppInstance。

請參閱

參照

Web 類別

Web 成員

Microsoft.SharePoint.Client 命名空間