Compartilhar via


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

Remarks

This method deletes the item from the Properties property.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace