SPWeb.GetProperty 方法
Gets the value of a property with the specified key from the list of metadata for the website.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetProperty ( _
key As Object _
) As Object
用法
Dim instance As SPWeb
Dim key As Object
Dim returnValue As Object
returnValue = instance.GetProperty(key)
public Object GetProperty(
Object key
)
参数
key
类型:System.ObjectThe property key to retrieve.
返回值
类型:System.Object
The value of the property.
备注
This method retrieves the value of the specified property from the AllProperties property that is a key/value pair.