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)

Syntax

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

returnValue = instance.GetProperty(key)
public Object GetProperty(
    Object key
)

Parameters

  • 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.

Remarks

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.

See also

Reference

SPFolder class

SPFolder members

Microsoft.SharePoint namespace