Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
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
)
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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