Click or drag to resize

IContentItemT, TVersion, TSchema, TSchemaVersionVersion Method


Retrieves a Version of this page by version number.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
TVersion Version(
	int versionNumber
)

Parameters

versionNumber
Type: SystemInt32
Version number of the version to retrieve

Return Value

Type: TVersion
Version with matching version number
Remarks

If the version number is the version number of current version, or less than or equal to 0, the current (checked-in) version is returned.

If the version number is greater than 0 and no previous version has the matching version number, this method returns null.

See Also