SPFile.LockType property

Gets a value that describes the type of lock that is on a file.

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

Public ReadOnly Property LockType As SPFile.SPLockType
Dim instance As SPFile
Dim value As SPFile.SPLockType

value = instance.LockType

Property value

Type: Microsoft.SharePoint.SPFile.SPLockType
One of the enumeration values that describes the type of lock.