SPFolder.SetProperty method

Sets the value of the element with the specified key in the metadata for the folder.

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

public void SetProperty(
	Object key,
	Object value
)

Parameters

key
Type: System.Object

The key of the element to set.

value
Type: System.Object

The value to set.

This method sets the value of the element with the key specified by the key parameter in the metadata collection of the folder, which is contained in the Properties property

Show: