Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
FreeElementValue Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : FreeElementValue Method



element
An item in the Data Set.
element
An item in the Data Set.
Frees the memory for a value.

Syntax

Visual Basic (Declaration) 
Public Sub FreeElementValue( _
   ByVal element As DicomElement _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim element As DicomElement
 
instance.FreeElementValue(element)
C# 
public void FreeElementValue( 
   DicomElement element
)
C++/CLI 
public:
void FreeElementValue( 
   DicomElement^ element
) 

Parameters

element
An item in the Data Set.

Example

Remarks

Calling this method following a call to one of the DicomDataSet.GetxxxValue or DicomDataSet.GetxxxValuePtr methods, or the GetElementValueCount method will free the memory allocated for the retrieved value. This memory will be freed anyway when the Data Set is freed. Using this method allows you to minimize the memory use in your application.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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