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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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