Export (0) Print
Expand All
Expand Minimize

SPWeb.DeleteProperty Method

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


Type: System.Object

The property key to delete.

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

© 2014 Microsoft