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
)
參數
appPackageStream
Type: System.IO.Stream應用程式封裝的資料流。
installationLocaleLCID
Type: System.Int32用來安裝應用程式的地區設定的 LCID。
傳回值
Type: Microsoft.SharePoint.Administration.SPAppInstance
建立的 AppInstance。