VersionManagerGetNewVersion Method |
Returns new version number representation.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax 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:
StringSee Also