←Select platform

Default Method (DicomContextGroupTable)

Summary

Restores the specified Context Group to the default values as stored in the internal table maintained by LEADTOOLS.

Syntax

C#
VB
WinRT C#
C++
public bool Default(  
   Leadtools.Dicom.DicomContextGroup contextGroup 
) 
Public Function Default( _ 
   ByVal contextGroup As Leadtools.Dicom.DicomContextGroup _ 
) As Boolean 
public bool Default(  
   Leadtools.Dicom.DicomContextGroup contextGroup 
) 
 function Leadtools.Dicom.DicomContextGroupTable.Default(  
   contextGroup  
) 
public: 
bool Default(  
   Leadtools.Dicom.DicomContextGroup^ contextGroup 
)  

Parameters

contextGroup
DicomContextGroup object that specifies the Context Group to be restored. If this parameter is set to null, the method restores all the Context Groups in the Context Group Table.

Return Value

true, the specified Context Group was restored successfully. false, the method failed to allocate memory.

Remarks
  • LEADTOOLS maintains an internal table of the Context Groups defined by the DICOM Content Mapping Resource (DCMR). Use the Load method to load Context Groups from this table into the Context Group Table. After a Context Group is loaded, its Coded Concepts can be deleted, their Code Meanings can be modified, and new Concepts can be added to the Group. Use the Default method to discard all the changes made to the Context Group.
  • If the internal table doesn't contain a Context Group with the same Context ID as that of the specified Context Group, the method will just return successfully without affecting the Context Group.
Example

For an example, refer to Insert.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize