SPFile.AddProperty method

Adds an item to the list of metadata for the file.

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

Syntax

'Declaration
Public Sub AddProperty ( _
    key As Object, _
    value As Object _
)
'Usage
Dim instance As SPFile
Dim key As Object
Dim value As Object

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

Parameters

Remarks

This method adds the key/value pair to the Properties property.

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace