共用方式為


SPFileSaveBinaryParameters.LockIdMatch property

取得或設定檔案的LockId物件。

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

Syntax

'宣告
Public Property LockIdMatch As String
    Get
    Set
'用途
Dim instance As SPFileSaveBinaryParameters
Dim value As String

value = instance.LockIdMatch

instance.LockIdMatch = value
public string LockIdMatch { get; set; }

Property value

Type: System.String
在檔案上鎖定識別項。

備註

如果這個屬性不是a null reference (Nothing in Visual Basic) ,而且檔案沒有鎖定,然後儲存檔案才會成功的值符合目前的LockId。這個值必須指定Shared鎖定成功。

請參閱

參照

SPFileSaveBinaryParameters class

SPFileSaveBinaryParameters members

Microsoft.SharePoint namespace