共用方式為


Web.LoadAndInstallApp 方法

上載並安裝應用程式封裝到此網站。

命名空間:  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 LoadAndInstallApp ( _
    appPackageStream As Stream _
) As AppInstance
'用途
Dim instance As Web
Dim appPackageStream As Stream
Dim returnValue As AppInstance

returnValue = instance.LoadAndInstallApp(appPackageStream)
public AppInstance LoadAndInstallApp(
    Stream appPackageStream
)

參數

傳回值

類型:Microsoft.SharePoint.Client.AppInstance
Appinstance 參考。

備註

遠端開發必須啟用此網站。

請參閱

參照

Web 類別

Web 成員

Microsoft.SharePoint.Client 命名空間