Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Load(String) Method
See Also 
Leadtools.Dicom Namespace > DicomContextGroupTable Class > Load Method : Load(String) Method




contextID
The Context Identifier (CID) of the Context Group to be loaded from the internal table. For a list of some possible values, refer to Context Identifier Values. If this parameter is set to a null reference (Nothing in Visual Basic), the method loads all the Context Groups that are currently unloaded.
Loads the specified Context Group from the internal table into the Context Group Table.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Load( _
   ByVal contextID As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomContextGroupTable
Dim contextID As String
 
instance.Load(contextID)
C# 
public void Load( 
   string contextID
)
Managed Extensions for C++ 
public: void Load( 
   string* contextID
) 
C++/CLI 
public:
void Load( 
   String^ contextID
) 

Parameters

contextID
The Context Identifier (CID) of the Context Group to be loaded from the internal table. For a list of some possible values, refer to Context Identifier Values. If this parameter is set to a null reference (Nothing in Visual Basic), the method loads all the Context Groups that are currently unloaded.

Example

For an example, refer to Insert.

Remarks

You can add a Context Group 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). For a list of possible values, refer to Context Identifier Values. To insert a Context Group, use the Insert method.

If the Context Group Table already contains a Context Group with the specified Context ID, the method will just return successfully. If the parameter contextID is set to a null reference (Nothing in Visual Basic), 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, to load all of the Context Groups in the internal table from the beginning, call the method with the contextID parameter set to null.)

If the method throws a DicomExceptionCode.Parameter exception, then this means that the internal table doesn’t contain a Context Group with the specified Context ID.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features