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.3.169
Syntax double PreviousVersionsStorageSize()
Function PreviousVersionsStorageSize As Double
double PreviousVersionsStorageSize()
abstract PreviousVersionsStorageSize : unit -> float
Return Value
Type:
DoubleFile size of all previous versions of the asset, in KB.
Examples
Example of Checking the previous versions storage size in a custom hook:
if(contentItem.PreviousVersionsStorageSize() > 10000){
}
See Also