DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / GetCacheSize Method
Type of Cache of interest, default value is DicomObjects.Enums.CacheTypes.All






In This Topic
    GetCacheSize Method (DicomImage)
    In This Topic
    Get cache size used by DicomObjects for the image - useful to help decide when to call ClearCaches method
    Clears the internal cache for uncompressed pixel data
    Syntax
    'Declaration
     
    
    Public Function GetCacheSize( _
       ByVal cacheType As CacheTypes _
    ) As System.Long
    'Usage
     
    
    Dim instance As DicomImage
    Dim cacheType As CacheTypes
    Dim value As System.Long
     
    value = instance.GetCacheSize(cacheType)
    public System.long GetCacheSize( 
       CacheTypes cacheType
    )
    public function GetCacheSize( 
        cacheType: CacheTypes
    ): System.Int64; 
    public function GetCacheSize( 
       cacheType : CacheTypes
    ) : System.long;
    public: System.long GetCacheSize( 
       CacheTypes cacheType
    ) 
    public:
    System.int64 GetCacheSize( 
       CacheTypes cacheType
    ) 

    Parameters

    cacheType
    Type of Cache of interest, default value is DicomObjects.Enums.CacheTypes.All

    Return Value

    number of bytes cached by DicomObjects
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also