SPFolder.DeleteProperty method

Deletes the element with the specified key from the metadata for the folder.

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

public void DeleteProperty(
	Object key
)

Parameters

key
Type: System.Object

The key of the element to remove.

This method removes the element with the key specified by the key parameter from the metadata collection of the folder, which is contained in the Properties property.

Show: