Class DisposeHelper
Inheritance
System.Object
DisposeHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.Shared.Base.dll
Syntax
public sealed class DisposeHelper
Constructors
DisposeHelper()
Declaration
Methods
Dispose(ref ArrayListExt)
Declaration
public static void Dispose(ref ArrayListExt collection)
Parameters
Declaration
public static void Dispose(ref DragHelper dragHelper)
Parameters
Declaration
public static void Dispose(ref ToolTipAdv tooltip)
Parameters
Dispose(ref IDictionary)
Declaration
public static void Dispose(ref IDictionary dictionary)
Parameters
Type |
Name |
Description |
System.Collections.IDictionary |
dictionary |
|
Dispose(ref IList)
Clear collection and then reset it reference to NULL.
Declaration
public static void Dispose(ref IList collection)
Parameters
Type |
Name |
Description |
System.Collections.IList |
collection |
|
Dispose(ref Component)
Declaration
public static void Dispose(ref Component component)
Parameters
Type |
Name |
Description |
System.ComponentModel.Component |
component |
|
Dispose(ref Brush)
Declaration
public static void Dispose(ref Brush brush)
Parameters
Type |
Name |
Description |
System.Drawing.Brush |
brush |
|
Dispose(ref GraphicsPath)
Declaration
public static void Dispose(ref GraphicsPath path)
Parameters
Type |
Name |
Description |
System.Drawing.Drawing2D.GraphicsPath |
path |
|
Dispose(ref Graphics)
Declaration
public static void Dispose(ref Graphics graphics)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
graphics |
|
Dispose(ref Pen)
Declaration
public static void Dispose(ref Pen pen)
Parameters
Type |
Name |
Description |
System.Drawing.Pen |
pen |
|
Declaration
public static void Dispose(ref StringFormat format)
Parameters
Type |
Name |
Description |
System.Drawing.StringFormat |
format |
|
Dispose(ref IDisposable)
Declaration
public static void Dispose(ref IDisposable value)
Parameters
Type |
Name |
Description |
System.IDisposable |
value |
|
Declaration
public static void Dispose(ref ImageList list)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ImageList |
list |
|
Declaration
public static void Dispose(ref NativeWindow window)
Parameters
Type |
Name |
Description |
System.Windows.Forms.NativeWindow |
window |
|
DisposeItems(ref IList)
Dispose array items and then clear collection and reset it reference to NULL.
Declaration
public static void DisposeItems(ref IList collection)
Parameters
Type |
Name |
Description |
System.Collections.IList |
collection |
|