←Select platform

FreeElementValue Method

Summary

Frees the memory for a value.

Syntax

C#
VB
Java
WinRT C#
C++
public void FreeElementValue( 
   DicomElement element 
) 
Public Sub FreeElementValue( _ 
   ByVal element As Leadtools.Dicom.DicomElement _ 
)  
public void FreeElementValue(  
   Leadtools.Dicom.DicomElement element 
) 
public void freeElementValue(DicomElement element) 
 function Leadtools.Dicom.DicomDataSet.FreeElementValue(  
   element  
) 
public: 
void FreeElementValue(  
   Leadtools.Dicom.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly