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.3.169
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