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