Share via


SPFileSaveBinaryParameters.LockIdMatch Property

Gets or sets the LockId object for a file.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property LockIdMatch As String
    Get
    Set
'Usage
Dim instance As SPFileSaveBinaryParameters
Dim value As String

value = instance.LockIdMatch

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

Property Value

Type: System.String
The identifier for the lock on the file.

Remarks

If this property is not a null reference (Nothing in Visual Basic) and there is a lock on the file, then a file save will succeed only if the value matches the current LockId. This value must be specified for the Shared lock to succeed.

See Also

Reference

SPFileSaveBinaryParameters Class

SPFileSaveBinaryParameters Members

Microsoft.SharePoint Namespace