返回指定的移动 Web 应用程序的配置值的整数版本。
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function GetMobileConfigValueAsInt ( _
web As SPWeb, _
key As String _
) As Integer
用法
Dim web As SPWeb
Dim key As String
Dim returnValue As Integer
returnValue = SPMobileUtility.GetMobileConfigValueAsInt(web, _
key)
public static int GetMobileConfigValueAsInt(
SPWeb web,
string key
)
参数
web
类型:Microsoft.SharePoint.SPWeb一个表示 Web 应用程序的SPWeb对象。
key
类型:System.String一个字符串,包含配置项。
返回值
类型:System.Int32
一个整数,表示配置值。