Partilhar via


SPWeb.DeleteProperty Method

Deletes a property from the list of metadata for the website.

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 SPWeb
Dim key As Object

instance.DeleteProperty(key)
public void DeleteProperty(
    Object key
)

Parameters

Remarks

This method deletes a property from the AllProperties property that is a key/value pair.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace