Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

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)
public void SetProperty(
	Object key,
	Object value
)

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.