ImageGear22.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecDocument Class : Dispose Method |
'Declaration Public Sub Dispose()
'Usage Dim instance As ImGearRecDocument instance.Dispose()
public void Dispose()
public: void Dispose();
public: void Dispose();
It's not required for an application to call this method, since the .NET garbage collector will eventually dispose the object if no references to it exist anymore. However, in order to minimize memory usage, it is recommended for an application to call the Dispose method as soon as the object is no longer needed.
The application is responsible for not accessing any methods or properties of the object after having called its Dispose method.