SPFile.DeleteProperty method

SharePoint 2013

Deletes an item from the list of metadata for the file.

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

'Declaration
Public Sub DeleteProperty ( _
	key As Object _
)
'Usage
Dim instance As SPFile
Dim key As Object

instance.DeleteProperty(key)

Parameters

key
Type: System.Object

The string key of the item to delete.

This method deletes the item from the Properties property.

Show: