LEADTOOLS Medical (Leadtools.Dicom assembly)

Insert(DicomIod,Boolean,Int64,String,DicomIodType,DicomIodUsageType,String) Method

Show in webframe







contains an item in the IOD Structure. The inserted item will be inserted as a neighbor to this item, or as a child, depending on the value of child.
true to insert the new item as the last child of neighbor, false to insert the new item as the last sibling of neighbor.
The Tag Information Object Definitions.
The name of the inserted item
The type of Information Object Definition you are working with.
Indicates whether the Information Object is mandatory, conditional or optional, and the type of usage. For more information on mandatory, conditional and optional usage, refer to An Overview of the DICOM File Format or the DICOM Standard.
The description of the inserted Tag Information Object Definition.
Inserts a new item in the IOD Structure.
Syntax
public DicomIod Insert( 
   DicomIod neighbor,
   bool child,
   long code,
   string name,
   DicomIodType type,
   DicomIodUsageType usage,
   string description
)
'Declaration
 
Public Overloads Function Insert( _
   ByVal neighbor As DicomIod, _
   ByVal child As Boolean, _
   ByVal code As Long, _
   ByVal name As String, _
   ByVal type As DicomIodType, _
   ByVal usage As DicomIodUsageType, _
   ByVal description As String _
) As DicomIod
'Usage
 
Dim instance As DicomIodTable
Dim neighbor As DicomIod
Dim child As Boolean
Dim code As Long
Dim name As String
Dim type As DicomIodType
Dim usage As DicomIodUsageType
Dim description As String
Dim value As DicomIod
 
value = instance.Insert(neighbor, child, code, name, type, usage, description)
public DicomIod Insert( 
   DicomIod neighbor,
   bool child,
   long code,
   string name,
   DicomIodType type,
   DicomIodUsageType usage,
   string description
)

            
public DicomIod insert(DicomIod neighbor, boolean child, int code, String name, DicomIodType type, DicomIodUsageType usage, String description)
 function Leadtools.Dicom.DicomIodTable.Insert(DicomIod,Boolean,Int64,String,DicomIodType,DicomIodUsageType,String)( 
   neighbor ,
   child ,
   code ,
   name ,
   type ,
   usage ,
   description 
)
public:
DicomIod^ Insert( 
   DicomIod^ neighbor,
   bool child,
   int64 code,
   String^ name,
   DicomIodType type,
   DicomIodUsageType usage,
   String^ description
) 

Parameters

neighbor
contains an item in the IOD Structure. The inserted item will be inserted as a neighbor to this item, or as a child, depending on the value of child.
child
true to insert the new item as the last child of neighbor, false to insert the new item as the last sibling of neighbor.
code
The Tag Information Object Definitions.
name
The name of the inserted item
type
The type of Information Object Definition you are working with.
usage
Indicates whether the Information Object is mandatory, conditional or optional, and the type of usage. For more information on mandatory, conditional and optional usage, refer to An Overview of the DICOM File Format or the DICOM Standard.
description
The description of the inserted Tag Information Object Definition.

Return Value

A DicomIod class containing the newly inserted item.
Remarks
Example
For an example, refer to Reset.
Requirements

Target Platforms

See Also

Reference

DicomIodTable Class
DicomIodTable Members
Overload List
Delete Method
Reset Method
Default Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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