Disposes the managed object. If the object is not specified, releases the specified COM object.
Namespace: BlueCieloECM.InnoCielo.MeridianAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.53.0)
Syntax
public static void DisposeOrRelease( IDisposable anObject, Object comObject )
Parameters
- anObject
- Type:
System IDisposable
The managed object to dispose. If , 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 . If , then the method does nothing.
See Also