Click or drag to resize
VersionManagerGetNewVersion Method
Returns new version number representation.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax
C#
public string GetNewVersion(
	string oldVersionNumber,
	bool isMajorVersion,
	string siteName,
	bool useCheckInCheckOut
)

Parameters

oldVersionNumber
Type: SystemString
Old version number
isMajorVersion
Type: SystemBoolean
If true, the version number is considered major
siteName
Type: SystemString
Site name
useCheckInCheckOut
Type: SystemBoolean
Indicates if use check-in/check-out

Return Value

Type: String
See Also