Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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 Sub AddProperty ( _
	key As Object, _
	value As Object _
Dim instance As SPFile
Dim key As Object
Dim value As Object

instance.AddProperty(key, value)


Type: System.Object

The string key of the item to add.

Type: System.Object

The value of the item to add.

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

© 2015 Microsoft