Click or drag to resize

Utils.DisposeOrRelease Method

Disposes the managed object. If the object is not specified, releases the specified COM object.

Namespace:  BlueCieloECM.InnoCielo.Meridian
Assembly:  BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.111.0)
Syntax
public static void DisposeOrRelease(
	IDisposable anObject,
	Object comObject
)

Parameters

anObject
Type: System.IDisposable
The managed object to dispose. If null, then comObject references to the COM object to release.
comObject
Type: System.Object
The COM object to release. Will be released only if the anObject is null. If null, then the method does nothing.
See Also