SPWeb.LoadAndInstallAppInSpecifiedLocale 方法
Uploads and installs an App package, in a specified locale.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:System.IO.StreamThe stream of the App package.
installationLocaleLCID
类型:System.Int32The LCID of the locale used to install the app.
返回值
类型:Microsoft.SharePoint.Administration.SPAppInstance
The created AppInstance.