Web.LoadApp 方法
Uploads an App package and creates an instance from it.
命名空间: 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 LoadApp ( _
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.LoadApp(appPackageStream, _
installationLocaleLCID)
public AppInstance LoadApp(
Stream appPackageStream,
int installationLocaleLCID
)
参数
appPackageStream
类型:System.IO.StreamThe stream of the App package.
installationLocaleLCID
类型:System.Int32The LCID of the locale used to create the app instance.
返回值
类型:Microsoft.SharePoint.Client.AppInstance
The created AppInstance.