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



In This Topic
    GetCacheSize Method
    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 DicomImage
    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: .NET CLR 4.0 or higher

    See Also