Export (0) Print
Expand All

SPFile.AddProperty method

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

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

public void AddProperty(
	Object key,
	Object value
)

Parameters

key
Type: System.Object

The string key of the item to add.

value
Type: System.Object

The value of the item to add.

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

Show:
© 2014 Microsoft