Web.LoadAndInstallAppInSpecifiedLocale 方法
上傳並安裝應用程式套件,指定地區設定。
命名空間: 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 LoadAndInstallAppInSpecifiedLocale ( _
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.LoadAndInstallAppInSpecifiedLocale(appPackageStream, _
installationLocaleLCID)
public AppInstance LoadAndInstallAppInSpecifiedLocale(
Stream appPackageStream,
int installationLocaleLCID
)
參數
appPackageStream
類型:System.IO.Stream應用程式套件的資料流。
installationLocaleLCID
類型:System.Int32LCID 的安裝應用程式使用的地區設定。
傳回值
類型:Microsoft.SharePoint.Client.AppInstance
建立的 AppInstance 中。