LoadContextGroup method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short LoadContextGroup(BSTR bstrContextID);

Overview

Refer to Working with Context Groups.

Remarks

The LoadContextGroup method loads the specified Context Group from the internal table into the Context Group Table.

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 directly into the Context Group Table. The Context Groups in the internal table are those defined by the DICOM Content Mapping Resource (DCMR). Use the LoadContextGroup method to load the desired Context Groups from this table into the Context Group Table. Use the InsertContextGroup method to insert a Context Group.

If the Context Group Table already contains a Context Group with the specified Context ID, the method will just return successfully. If the parameter bstrContextID is set to NULL or if an empty string is specified, the method will load all the Context Groups that are not loaded currently, without affecting any Context Group that is already in the Context Group Table. Therefore, all the Context Groups in the internal table can be loaded from the beginning by calling the method with the parameter bstrContextID set to NULL or by specifying an empty string.

See Also

Elements:

InsertContextGroup method, DeleteContextGroup method, ResetContextGroup method, FindContextGroup method, MoveFirstContextGroup method, MoveFirstCodedConcept method

Topics:

ILEADDicomDS Interface, IDicomContextGroup Interface, IDicomCodedConcept Interface, Working with the DicomContextGroup Object, Working with the DicomCodedConcept Object, Context Identifiers