SPFolder.GetProperty Method

Gets the value of the element with the specified key from the metadata for the folder.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public Object GetProperty(
	Object key


Type: System.Object

The key of the element for which to return a value.

Return Value

Type: System.Object
The value that corresponds to the specified key.

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