BypassLockedItemDelegateMethod Delegate

Bypasses record locks of the specified item.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

public delegate void BypassLockedItemDelegateMethod(
	SPListItem 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.