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
Syntax
'Declaration
Public Function GetProperty ( _
key As Object _
) As Object
'Usage
Dim instance As SPFile
Dim key As Object
Dim returnValue As Object
returnValue = instance.GetProperty(key)
public Object GetProperty(
Object key
)
Parameters
key
Type: System.ObjectThe string key of the item from which to retrieve the value.
Return Value
Type: System.Object
Object
The value of the item.