Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
InsertModule Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : InsertModule Method




module
The module to be inserted.
optional
true to insert all elements of the specified module; false to insert only the mandatory elements of the specified module.
Inserts a new module in the Data Set.

Syntax

Visual Basic (Declaration) 
Public Function InsertModule( _
   ByVal module As DicomModuleType, _
   ByVal optional As Boolean _
) As DicomModule
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim module As DicomModuleType
Dim optional As Boolean
Dim value As DicomModule
 
value = instance.InsertModule(module, optional)
C# 
public DicomModule InsertModule( 
   DicomModuleType module,
   bool optional
)
Managed Extensions for C++ 
public: DicomModule* InsertModule( 
   DicomModuleType module,
   bool optional
) 
C++/CLI 
public:
DicomModule^ InsertModule( 
   DicomModuleType module,
   bool optional
) 

Parameters

module
The module to be inserted.
optional
true to insert all elements of the specified module; false to insert only the mandatory elements of the specified module.

Return Value

The newly inserted module.

Example

For an example, refer to DeleteModule.

Remarks

LEAD controls the placement of the module in the Data Set.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features