Click or drag to resize

UtilsDisposeOrRelease 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: SystemIDisposable
The managed object to dispose. If , then comObject references to the COM object to release.
comObject
Type: SystemObject
The COM object to release. Will be released only if the anObject is . If , then the method does nothing.
See Also