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 > MediaSample Class : Dispose Method



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

Syntax

Visual Basic (Declaration) 
Public Sub Dispose() 
Visual Basic (Usage)Copy Code
Dim instance As MediaSample
 
instance.Dispose()
C# 
public void Dispose()
C++/CLI 
public:
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