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
)

参数

备注

This method updates the value of the specified property in the AllProperties property.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间