Share via


BypassLockedItemDelegateMethod Delegate

Bypasses record locks of the specified item.

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

Syntax

'Declaration
Public Delegate Sub BypassLockedItemDelegateMethod ( _
    listItem As SPListItem _
)
'Usage
Dim instance As New BypassLockedItemDelegateMethod(AddressOf HandlerMethod)
public delegate void BypassLockedItemDelegateMethod(
    SPListItem listItem
)

Parameters

Remarks

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.

See Also

Reference

Microsoft.SharePoint.Publishing Namespace

Records