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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub DeleteProperty ( _
key As Object _
)
'Usage
Dim instance As SPFolder
Dim key As Object
instance.DeleteProperty(key)
public void DeleteProperty(
Object key
)
Parameters
key
Type: System.ObjectThe key of the element to remove.
Remarks
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.