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