SPList.GetItemByUniqueId Method
Gets the list item by GUID.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- uniqueId
- Type: System.Guid
The GUID of the list item.
| Exception | Condition |
|---|---|
| ArgumentException |
The list item does not exist. -or- The list is not a user information list. |