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)

Public Function GetProperty ( _
	key As Object _
) As Object
Dim instance As SPFolder
Dim key As Object
Dim returnValue As Object

returnValue = instance.GetProperty(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.