←Select platform

FreeElementValue Method

Summary
Frees the memory for a value.
Syntax
C#
VB
C++
Java
public void FreeElementValue( 
   DicomElement element 
) 
Public Sub FreeElementValue( _ 
   ByVal element As DicomElement _ 
)  
public void freeElementValue(DicomElement element) 
public: 
void FreeElementValue(  
   DicomElement^ element 
)  

Parameters

element
An item in the Data Set.

Remarks

Calling this method following a call to one of the DicomDataSet.GetxxxValue, 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.

Example

For an example, refer to SetIntValue.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.