SPFile.DeleteProperty Method
Deletes an item from the list of metadata for the file.
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 SPFile
Dim key As Object
instance.DeleteProperty(key)
public void DeleteProperty(
Object key
)
Parameters
key
Type: System.ObjectThe string key of the item to delete.
Remarks
This method deletes the item from the Properties property.