Utilities.Media.SwiftBitmap.Dispose C# (CSharp) Méthode

Dispose() protected méthode

Function to override in order to dispose objects
protected Dispose ( bool Managed ) : void
Managed bool /// If true, managed and unmanaged objects should be disposed. Otherwise unmanaged objects only. ///
Résultat void
        protected override void Dispose(bool Managed)
        {
            if (Data != null)
            {
                Unlock();
            }
            if (InternalBitmap != null)
            {
                InternalBitmap.Dispose();
                InternalBitmap = null;
            }
        }