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






In This Topic
    GetCacheSize Method (DicomDataSet)
    In This Topic
    Get cache size used by DicomObjects for the image - useful to help decide when to call ClearCaches method
    Syntax
    'Declaration
     
    
    Public Function GetCacheSize( _
       ByVal cacheType As CacheTypes _
    ) As System.Long
    'Usage
     
    
    Dim instance As DicomDataSet
    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