←Select platform

Insert(DicomContextIdentifierType,string,bool,DicomDateTimeValue,DicomContextGroupTableInsertFlags) Method

Summary

Adds a new Context Group to the Context Group Table.

Syntax
C#
VB
C++
Public Overloads Function Insert( _ 
   ByVal contextIdentifier As DicomContextIdentifierType, _ 
   ByVal name As String, _ 
   ByVal isExtensible As Boolean, _ 
   ByVal contextGroupVersion As DicomDateTimeValue, _ 
   ByVal flags As DicomContextGroupTableInsertFlags _ 
) As DicomContextGroup 

Parameters

contextIdentifier
The Context Identifier (0008,010F) of the new Context Group. For a list of values, refer to Context Identifier Values.

name
The name of the new Context Group.

isExtensible
Indicates whether the new Context Group is Extensible or not. true, The new Context Group is extensible. false, The new Context Group is Non-extensible.

contextGroupVersion
The Context Group Version (0008,0106) of the new Context Group.

flags
Flag that controls the behavior of this method.

Return Value

DicomContextGroup object that specifies the newly inserted Context Group.

Remarks
  • Please note that if the Context Identifier, Name, and Context Group Version of the new Context Group are not specified, the method fails and returns null.
  • A Context Group can be added to the Context Group Table either by loading it from the internal table maintained by LEADTOOLS or by inserting it into the Context Group Table directly. Use Insert method to insert a new Context Group to the Context Group Table. To load Context Groups from the internal table, use the Load method.
  • Use the method InsertCodedConcept to add Coded Concepts to a Context Group in the Context Group Table.

Example

For an example, refer to Insert.

Requirements

Target Platforms

Help Version 20.0.2020.2.17
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly