This topic has not yet been rated - Rate this topic

SPWeb.DeleteProperty Method

SharePoint 2010

Deletes a property from the list of metadata for the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public void DeleteProperty(
	Object key
)

Parameters

key
Type: System.Object
The property key to delete.

This method deletes a property from the AllProperties property that is a key/value pair.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ