Click or drag to resize
ISafeDisposable Interface
Defines a property to call in a safe manner the Dispose method to release unmanaged resources.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public interface ISafeDisposable : IDisposable

The ISafeDisposable type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Top
Properties
  NameDescription
Public propertyIsDisposable
Returns a boolean flag which indicates if it is safe to call Dispose on the object.
Top
Remarks
Use of Dispose method may be used carefully on some objects (because they may be shared in a scene graph for example). We may be sured that the object is no longer needed. Use the IsDisposable property of this interface to know if it is safe to explicitly dispose the object.
See Also