Share via


SPFileSaveBinaryParameters.CreateVersion property

Gets or sets a value that indicates whether a new version of the file should be created if versioning is enabled and valid.

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

Syntax

'Declaration
Public Property CreateVersion As Boolean
    Get
    Set
'Usage
Dim instance As SPFileSaveBinaryParameters
Dim value As Boolean

value = instance.CreateVersion

instance.CreateVersion = value
public bool CreateVersion { get; set; }

Property value

Type: System.Boolean
true if a new version should be created; otherwise, false.

See also

Reference

SPFileSaveBinaryParameters class

SPFileSaveBinaryParameters members

Microsoft.SharePoint namespace