'Declaration Public Sub OpenSource( _ ByVal sourceName As String _ )
'Usage Dim instance As ImGearTWAIN Dim sourceName As String instance.OpenSource(sourceName)
public void OpenSource( string sourceName )
public: void OpenSource( string* sourceName )
public: void OpenSource( String^ sourceName )
Parameters
- sourceName
Specifies the data source.
If
sourceName
is String.Empty and UseUI is set to true, then a call to this method will cause Data Source Manager to display the default source selection dialog.If
sourceName
is String.Empty and UseUI is set to false, then the default Data Source will be opened.If
sourceName
is a name of an existing Data Source, the specified Data Source will be opened.