LEADTOOLS Medical (Leadtools.Dicom assembly)

FreeElementValue Method

Show in webframe







An item in the Data Set.
Frees the memory for a value.
Syntax
public void FreeElementValue( 
   DicomElement element
)
'Declaration
 
Public Sub FreeElementValue( _
   ByVal element As DicomElement _
) 
'Usage
 
Dim instance As DicomDataSet
Dim element As DicomElement
 
instance.FreeElementValue(element)
public void FreeElementValue( 
   DicomElement element
)

            
public void freeElementValue(DicomElement element)
 function Leadtools.Dicom.DicomDataSet.FreeElementValue( 
   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(DicomElement,IntPtr,Int32).
Requirements

Target Platforms

See Also

Reference

DicomDataSet Class
DicomDataSet Members
GetValue
GetElementValueCount Method
GetBinaryValue(DicomElement,Int32) Method
GetByteValue(DicomElement,Int32,Int32) Method
GetShortValue(DicomElement,Int32,Int32) Method
GetLongValue(DicomElement,Int32,Int32) Method
GetIntValue(DicomElement,Int32,Int32) Method
GetFloatValue(DicomElement,Int32,Int32) Method
GetDoubleValue(DicomElement,Int32,Int32) Method
GetStringValue Method
GetAgeValue(DicomElement,Int32,Int32) Method
GetDateValue(DicomElement,Int32,Int32) Method
GetTimeValue(DicomElement,Int32,Int32) Method
GetDateTimeValue(DicomElement,Int32,Int32) Method
GetConvertValue Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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