VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Dicom.Wpf.UI Namespace / WpfDicomSeriesManagerControl Class / AddDirectory Methods / AddDirectory(String,Boolean,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
AddDirectory(String,Boolean,Boolean) Method (WpfDicomSeriesManagerControl)
In This Topic
Adds all DICOM files, in specified directory, to this control.
Syntax
'Declaration

Public Overloads Sub AddDirectory( _
ByVal path
The path to directory.
As System.String, _
ByVal recursive
A value indicating whether control must process all DICOM files in specified directory and all sub directories. True if control must process all DICOM files in specified directory and all sub directories; false if control must process all DICOM files in specified directory only.
As Boolean, _
ByVal readonlyMode
A value indicating whether file should be opened in readonly mode.
As Boolean _
)
public void AddDirectory(
System.String path,
bool recursive,
bool readonlyMode
)

Parameters

path
The path to directory.
recursive
A value indicating whether control must process all DICOM files in specified directory and all sub directories. True if control must process all DICOM files in specified directory and all sub directories; false if control must process all DICOM files in specified directory only.
readonlyMode
A value indicating whether file should be opened in readonly mode.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also