- 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.
Visual Basic (Declaration) | |
---|---|
Overloads Public Function Insert( _ ByVal contextIdentifier As DicomContextIdentifierType, _ ByVal name As String, _ ByVal isExtensible As Boolean, _ ByVal contextGroupVersion As DicomDateTimeValue, _ ByVal flags As DicomContextGroupTableInsertFlags _ ) As DicomContextGroup |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As DicomContextGroupTable Dim contextIdentifier As DicomContextIdentifierType Dim name As String Dim isExtensible As Boolean Dim contextGroupVersion As DicomDateTimeValue Dim flags As DicomContextGroupTableInsertFlags Dim value As DicomContextGroup value = instance.Insert(contextIdentifier, name, isExtensible, contextGroupVersion, flags) |
C# | |
---|---|
public DicomContextGroup Insert( DicomContextIdentifierType contextIdentifier, string name, bool isExtensible, DicomDateTimeValue contextGroupVersion, DicomContextGroupTableInsertFlags flags ) |
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.For an example, refer to DicomContextGroupTable.Insert.
- 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 DicomContextGroupTable.Insert method to insert a new Context Group to the Context Group Table. To load Context Groups from the internal table, use the Leadtools.Dicom.DicomContextGroupTable.Load method.
- Use the method DicomContextGroupTable.InsertCodedConcept to add Coded Concepts to a Context Group in the Context Group Table.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)