SPWeb.SetProperty method

Sets the value of a property with the specified key in the list of metadata for the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub SetProperty ( _
    key As Object, _
    value As Object _
)
'Usage
Dim instance As SPWeb
Dim key As Object
Dim value As Object

instance.SetProperty(key, value)
public void SetProperty(
    Object key,
    Object value
)

Parameters

Remarks

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

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace