共用方式為


SPWeb.LoadAndInstallAppInSpecifiedLocale method

上載和安裝應用程式套件,在指定的地區設定。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Function LoadAndInstallAppInSpecifiedLocale ( _
    appPackageStream As Stream, _
    installationLocaleLCID As Integer _
) As SPAppInstance
'用途
Dim instance As SPWeb
Dim appPackageStream As Stream
Dim installationLocaleLCID As Integer
Dim returnValue As SPAppInstance

returnValue = instance.LoadAndInstallAppInSpecifiedLocale(appPackageStream, _
    installationLocaleLCID)
public SPAppInstance LoadAndInstallAppInSpecifiedLocale(
    Stream appPackageStream,
    int installationLocaleLCID
)

參數

  • installationLocaleLCID
    Type: System.Int32

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

傳回值

Type: Microsoft.SharePoint.Administration.SPAppInstance
建立的 AppInstance。

請參閱

參照

SPWeb class

SPWeb members

Microsoft.SharePoint namespace