ImageGear .NET - Updated
Dispose() Method




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecPage Class : Dispose() Method
Frees all data associated with this object.
Syntax
'Declaration
 
Public Sub Dispose() 
'Usage
 
Dim instance As ImGearRecPage
 
instance.Dispose()
public void Dispose()
public: void Dispose(); 
public:
void Dispose(); 
Remarks
This is a standard .NET Dispose method. It frees all data associated with this object as well as releases the associated native objects.

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.

See Also

Reference

ImGearRecPage Class
ImGearRecPage Members