IAssetCurrentVersionStorageSize Method
|
Retrieves the storage size of the asset file for current version of the context asset.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax double CurrentVersionStorageSize()
Function CurrentVersionStorageSize As Double
double CurrentVersionStorageSize()
abstract CurrentVersionStorageSize : unit -> float
Return Value
Type:
DoubleSize of the current version of the asset file, in KB.
Examples
Example of checking the current version storage size in custom hook:
if(contentItem.CurrentVersionStorageSize() > 1000){
}
See Also