packages/Windows API Code Pack 1.1/source/WindowsAPICodePack/Shell/Taskbar/JumpListSeparator.cs
/// <summary>
/// Release the native and managed objects
/// </summary>
/// <param name="disposing">Indicates that this is being called from Dispose(), rather than the finalizer.</param>
Release the native and managed objects
Release the native and managed objects
protected virtual void Dispose(bool disposing)
        {
            if (nativePropertyStore != null)
            {
                Marshal.ReleaseComObject(nativePropertyStore);
                nativePropertyStore = null;
            }
            if (nativeShellLink != null)
            {
                Marshal.ReleaseComObject(nativeShellLink);
                nativeShellLink = null;
            }
        }
protected virtual void Dispose ( bool disposing ) { if ( nativePropertyStore != null ) { Marshal . ReleaseComObject ( nativePropertyStore ) ; nativePropertyStore = null ; } if ( nativeShellLink != null ) { Marshal . ReleaseComObject ( nativeShellLink ) ; nativeShellLink = null ; } }
Release the native and managed objects
Release the native and managed objects
disposing
bool
Indicates that this is being called from Dispose(), rather than the finalizer.
Indicates that this is being called from Dispose () rather than the finalizer .