SPWeb.SetProperty 方法
Sets the value of a property with the specified key in the list of metadata for the website.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub SetProperty ( _
key As Object, _
value As Object _
)
用法
Dim instance As SPWeb
Dim key As Object
Dim value As Object
instance.SetProperty(key, value)
public void SetProperty(
Object key,
Object value
)
参数
key
类型:System.ObjectThe property key to set.
value
类型:System.ObjectThe property value to set.
备注
This method updates the value of the specified property in the AllProperties property.