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



Refreshes the device collection.

Syntax

Visual Basic (Declaration) 
Public Sub Refresh() 
Visual Basic (Usage)Copy Code
Dim instance As Devices
 
instance.Refresh()
C# 
public void Refresh()
C++/CLI 
public:
void Refresh(); 

Remarks

This method will rebuild the collection of system-registered devices. It is usually called from applications that respond to system device change notifications.

If the method fails, an error is raised. For more information, refer to the Error Codes.

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