Click or drag to resize

IAssetAdminContentDirectCurrentVersion Property


Gets the current version of the context asset.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
AssetVersion CurrentVersion { get; }

Property Value

Type: AssetVersion
Examples
Example getting the current version of an asset in custom hook:
C#
var assetItem = session.Site.Asset("a/100") as IAssetAdminContentDirect;
AssetVersion current = assetItem.CurrentVersion;
See Also