Web.LoadAndInstallApp 方法
Uploads and installs an app package to this site.
命名空间: 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 LoadAndInstallApp ( _
appPackageStream As Stream _
) As AppInstance
用法
Dim instance As Web
Dim appPackageStream As Stream
Dim returnValue As AppInstance
returnValue = instance.LoadAndInstallApp(appPackageStream)
public AppInstance LoadAndInstallApp(
Stream appPackageStream
)
参数
appPackageStream
类型:System.IO.StreamThe stream of the app package.
返回值
类型:Microsoft.SharePoint.Client.AppInstance
A reference to the Appinstance.
备注
This site must be enabled for remote development.