LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
Dispose() Method
See Also 
Leadtools.Multimedia Namespace > CaptureCtrl Class > Dispose Method : Dispose() Method



Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Syntax

Visual Basic (Declaration) 
Overloads Public Shadows Sub Dispose() 
Visual Basic (Usage)Copy Code
Dim instance As CaptureCtrl
 
instance.Dispose()
C# 
public new void Dispose()
C++/CLI 
public:
new void Dispose(); 

Remarks

Use this method to close or release unmanaged resources such as files, streams, and handles held by an instance of the class that implements this interface. By convention, this method is used for all tasks associated with freeing resources held by an object, or preparing an object for reuse.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also