LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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. Supported in Silverlight, Windows Phone 7.

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 DicomDataSet.DeleteModule.

Remarks

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

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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