File.ListItemAllFields 属性
Gets a value that specifies the list item field values for the list item corresponding to the file.
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public ReadOnly Property ListItemAllFields As ListItem
Get
用法
Dim instance As File
Dim value As ListItem
value = instance.ListItemAllFields
public ListItem ListItemAllFields { get; }
属性值
类型:Microsoft.SharePoint.Client.ListItem
Returns a ListItem instance representing the list item field values for the list item corresponding to the file.
异常
异常 | 条件 |
---|---|
[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 空引用(无 在 Visual Basic 中). Error code: -2147467261. |