Click or drag to resize

IAssetPreviousVersionsStorageSize Method


Retrieves the total storage size of asset files for all previous versions of the context asset.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
double PreviousVersionsStorageSize()

Return Value

Double
File size of all previous versions of the asset, in KB.
Example
Example of Checking the previous versions storage size in a custom hook:
C#
if(contentItem.PreviousVersionsStorageSize() > 10000){
    //Additional Actions
}
See Also