DicomObjects.NetStandard 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 Long
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim cacheType As CacheTypes
    Dim value As Long
     
    value = instance.GetCacheSize(cacheType)
    public long GetCacheSize( 
       CacheTypes cacheType
    )
    public:
    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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also