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
)

参数

备注

This method adds a property to the AllProperties property that is a key/value pair.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间