←Select platform

Load(string) Method

Summary

Loads the specified Context Group from the internal table into the Context Group Table.

Syntax

C#
VB
WinRT C#
C++
public void Load( 
   string contextID 
) 
Public Overloads Sub Load( _ 
   ByVal contextID As String _ 
)  
public void Load(  
   string contextID 
) 
 function Leadtools.Dicom.DicomContextGroupTable.Load(String)(  
   contextID  
) 
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 VB), the method loads all the Context Groups that are currently unloaded.

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 VB), 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.

Example

For an example, refer to Insert.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly