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.308
Syntax
double PreviousVersionsStorageSize()

Return Value

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