共用方式為


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
)

參數

  • installationLocaleLCID
    類型:System.Int32

    LCID 的安裝應用程式使用的地區設定。

傳回值

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

請參閱

參照

Web 類別

Web 成員

Microsoft.SharePoint.Client 命名空間