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; }
ReadOnly Property CurrentVersion As AssetVersion
Get
property AssetVersion^ CurrentVersion {
AssetVersion^ get ();
}
abstract CurrentVersion : AssetVersion with get
Property Value
Type:
AssetVersionExamples
Example getting the current version of an asset in custom hook:
var assetItem = session.Site.Asset("a/100") as IAssetAdminContentDirect;
AssetVersion current = assetItem.CurrentVersion;
See Also