BypassLockedItemDelegateMethod Delegate
SharePoint 2010
Bypasses record locks of the specified item.
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Parameters
- listItem
- Type: Microsoft.SharePoint.SPListItem
The item.
When an item is declared as record, it may be locked down and cannot be edited. Use CommonUtilities.BypassLocks(SPListItem, BypassLockedItemDelegateMethod) when it is necessary to bypass the lock. The operation to perform while the lock is bypassed is implemented in the BypassLockedItemDelegateMethod delegate.