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)

Syntax

'Declaration
Public ReadOnly Property LockType As SPFile.SPLockType
    Get
'Usage
Dim instance As SPFile
Dim value As SPFile.SPLockType

value = instance.LockType
public SPFile.SPLockType LockType { get; }

Property value

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

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace