- 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) | Copy Code |
---|---|
|
C# | |
---|---|
public DicomContextGroup Insert( DicomContextIdentifierType contextIdentifier, string name, bool isExtensible, DicomDateTimeValue contextGroupVersion, DicomContextGroupTableInsertFlags flags ) |
C++/CLI | |
---|---|
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(String,String,Boolean,DicomDateTimeValue,DicomContextGroupTableInsertFlags).
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(String,String,Boolean,DicomDateTimeValue,DicomContextGroupTableInsertFlags) 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 DicomContextGroupTable.InsertCodedConcept to add Coded Concepts to a Context Group in the Context Group Table.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family