Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BypassLockedItemDelegateMethod delegate
Collapse the table of content
Expand the table of content

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
)

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.

Show:
© 2015 Microsoft