Export (0) Print
Expand All
Expand Minimize

SPWeb.AddProperty method

Adds a property to the list of metadata for the website.

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

public void AddProperty(
	Object key,
	Object value
)

Parameters

key
Type: System.Object

The property key to add.

value
Type: System.Object

The property value to add.

This method adds a property to the AllProperties property that is a key/value pair.

Show:
© 2014 Microsoft