共用方式為


SPFile.LockType property

取得值,這個值描述位於檔案的鎖定類型。

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

Syntax

'宣告
Public ReadOnly Property LockType As SPFile.SPLockType
    Get
'用途
Dim instance As SPFile
Dim value As SPFile.SPLockType

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

Property value

Type: Microsoft.SharePoint.SPFile.SPLockType
其中一個列舉值,描述鎖定的型別。

請參閱

參照

SPFile class

SPFile members

Microsoft.SharePoint namespace