Exceptions
This documentation should be extended with the possible exceptions this code might throw. If the item does not exist, it throws an ArgumentException.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 86bc0396-f549-38ad-3a4c-16e0b479d594
- Version Independent ID: 7b0d0341-bab6-d73e-e4b9-7ad7417c3277
- Content: SPList.GetItemByIdAllFields(Int32) Method (Microsoft.SharePoint)
- Content Source: sharepoint-server/xml/Microsoft.SharePoint/SPList.xml
- Product: sharepoint
- GitHub Login: @dotnet-bot
- Microsoft Alias: o365devx
Taking this to the logical conclusion, all docs should include all possible exceptions that could occur. That's just not feasible... nor does it follow what the other API docs in docs.microsoft.com follow. Where warranted, exceptions will be listed if there are special comments that would help in the scenario.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues