다음을 통해 공유


File.ListItemAllFields Property

Gets a value that specifies the list item field values for the list item corresponding to the file.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property ListItemAllFields As ListItem
    Get
'Usage
Dim instance As File
Dim value As ListItem

value = instance.ListItemAllFields
[RemoteAttribute]
public ListItem ListItemAllFields { get; }

Property Value

Type: Microsoft.SharePoint.Client.ListItem
Returns a ListItem instance representing the list item field values for the list item corresponding to the file.

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

Server-relative URL must belong to the list. Error code: -2146232832.

[System.ArgumentException]

The folder MUST exist for the requested path for the server-relative URL. Error code: -2147024809.

[System.ArgumentNullException]

Server-relative URL must not be a null reference (Nothing in Visual Basic). Error code: -2147467261.

See Also

Reference

File Class

File Members

Microsoft.SharePoint.Client Namespace