SPWeb.AddProperty 方法
Adds a property to the list of metadata for the website.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub AddProperty ( _
key As Object, _
value As Object _
)
用法
Dim instance As SPWeb
Dim key As Object
Dim value As Object
instance.AddProperty(key, value)
public void AddProperty(
Object key,
Object value
)
参数
key
类型:System.ObjectThe property key to add.
value
类型:System.ObjectThe property value to add.
备注
This method adds a property to the AllProperties property that is a key/value pair.