LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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. Supported in Silverlight, Windows Phone 7.

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

For an example, refer to DicomDataSet.SetIntValue.

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.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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