←Select platform

InsertKey(DicomElement,DicomDirKeyType,bool) Method

Summary

Inserts a new key element in the Dicom Dir Data Set.

Syntax

C#
VB
Java
WinRT C#
C++
Public Overloads Function InsertKey( _ 
   ByVal parent As Leadtools.Dicom.DicomElement, _ 
   ByVal key As Leadtools.Dicom.DicomDirKeyType, _ 
   ByVal optional As Boolean _ 
) As Leadtools.Dicom.DicomElement 
public DicomElement insertKey(DicomElement parent, DicomDirKeyType key, boolean optional) 
 function Leadtools.Dicom.DicomDataSet.InsertKey(DicomElement,DicomDirKeyType,Boolean)(  
   parent , 
   key , 
   optional  
) 

Parameters

parent
A key element in the Data Set. The new key element will be inserted as a child of this key element.

key
The type of key element to insert.

optional
true to insert all parts of the specified key element; false to insert only the mandatory parts of the specified key element.

Return Value

The newly inserted item.

Remarks

The newly inserted key element is inserted as a child of parent.

Example

For an example, refer to Reset.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly