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)

Syntax

'Declaration
Public Sub SetProperty ( _
    key As Object, _
    value As Object _
)
'Usage
Dim instance As SPFolder
Dim key As Object
Dim value As Object

instance.SetProperty(key, value)
public void SetProperty(
    Object key,
    Object value
)

Parameters

Remarks

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

See also

Reference

SPFolder class

SPFolder members

Microsoft.SharePoint namespace