Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the SPListItem object that corresponds to this file, including all its field values, if the file belongs to a document library.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property ListItemAllFields As SPListItem
Get
'Usage
Dim instance As SPFile
Dim value As SPListItem
value = instance.ListItemAllFields
[ClientCallableAttribute]
public SPListItem ListItemAllFields { get; }
Property Value
Type: Microsoft.SharePoint.SPListItem
SPListItem
The list item that corresponds to the file.