Export (0) Print
Expand All

SPFile.GetProperty Method

Gets the value from an item in the list of metadata for the file based on the specified key.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public Object GetProperty(
	Object key
)

Parameters

key
Type: System.Object

The string key of the item from which to retrieve the value.

Return Value

Type: System.Object
Object
The value of the item.
Show:
© 2014 Microsoft