다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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