LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

FreeElementValue Method








An item in the Data Set.
Frees the memory for a value. .NET support WinRT support Silverlight support
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
)
ObjectiveC Syntax
 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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-2012 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