Records.IsLocked Method
Checks whether the specified item is locked down to prevent editing and deletion.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Function IsLocked ( _
item As SPListItem _
) As Boolean
'Usage
Dim item As SPListItem
Dim returnValue As Boolean
returnValue = Records.IsLocked(item)
public static bool IsLocked(
SPListItem item
)
Parameters
item
Type: Microsoft.SharePoint.SPListItemThe item
Return Value
Type: System.Boolean
Returns Boolean.
See Also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository Namespace