SPWeb.SetProperty Method
SharePoint 2010
Sets the value of a property with the specified key in the list of metadata for the website.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- key
- Type: System.Object
The property key to set.
- value
- Type: System.Object
The property value to set.
This method updates the value of the specified property in the AllProperties property.