SPFileSaveBinaryParameters.LockIdMatch property
Gets or sets the LockId object for a file.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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