ImageGear23.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecPage Class : Dispose() Method |
'Declaration Public Sub Dispose()
'Usage Dim instance As ImGearRecPage instance.Dispose()
public void Dispose()
public: void Dispose();
public: void Dispose();
It is required for an application to call this method to properly clean up the native resources. In the case if this method is not explicitly called by the application, the .NET garbage collector might dispose the object after the native resources were unloaded, which might cause General Protection Fault in the Recognition engine.
The application is responsible for not accessing any methods or properties of the object after having called its Dispose method.