Web.LoadAndInstallAppInSpecifiedLocale 方法

Uploads and installs an App package, in a specified locale.

命名空间:  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 LoadAndInstallAppInSpecifiedLocale ( _
    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.LoadAndInstallAppInSpecifiedLocale(appPackageStream, _
    installationLocaleLCID)
public AppInstance LoadAndInstallAppInSpecifiedLocale(
    Stream appPackageStream,
    int installationLocaleLCID
)

参数

  • installationLocaleLCID
    类型:System.Int32

    The LCID of the locale used to install the app.

返回值

类型:Microsoft.SharePoint.Client.AppInstance
The created AppInstance.

另请参阅

引用

Web 类

Web 成员

Microsoft.SharePoint.Client 命名空间