| DisposableDispose Method |
If the specified object implements
IDisposable, it will be disposed, else nothing is done.
Namespace:
TomsToolbox.Essentials
Assembly:
TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax public static bool Dispose(
Object? item
)
Public Shared Function Dispose (
item As Object
) As Boolean
Parameters
- item
- Type: SystemObject
The object to dispose.
Return Value
Type:
Booleantrue if the object has been disposed.
See Also