ISafeDisposable Interface |
Defines a property to call in a safe manner the Dispose
method to release unmanaged resources.
Namespace: OIV.InventorAssembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public interface ISafeDisposable : IDisposable
Public Interface ISafeDisposable
Inherits IDisposable
public interface class ISafeDisposable : IDisposable
type ISafeDisposable =
interface
interface IDisposable
end
The ISafeDisposable type exposes the following members.
Methods
| Name | Description |
---|
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
TopProperties
| Name | Description |
---|
| IsDisposable |
Returns a boolean flag which indicates if it is safe to call
Dispose on the object.
|
TopRemarks
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