LEADTOOLS Medical (Leadtools.Dicom assembly)

GetElementValueCount Method

Show in webframe







An item in the Data Set.
Gets the number of values stored in the Value Field of the specified element.
Syntax
public int GetElementValueCount( 
   DicomElement element
)
'Declaration
 
Public Function GetElementValueCount( _
   ByVal element As DicomElement _
) As Integer
'Usage
 
Dim instance As DicomDataSet
Dim element As DicomElement
Dim value As Integer
 
value = instance.GetElementValueCount(element)
public int GetElementValueCount( 
   DicomElement element
)

            
public int getElementValueCount(DicomElement element)
 function Leadtools.Dicom.DicomDataSet.GetElementValueCount( 
   element 
)
public:
int GetElementValueCount( 
   DicomElement^ element
) 

Parameters

element
An item in the Data Set.

Return Value

The number of values stored in the Value Field of the specified element.
Remarks
For more information on retrieving multiple values from the Value Field, refer to the DicomDataSet.GetxxxValue or DicomDataSet.GetxxxValuePtr methods.

To minimize memory use in your application, you can free the memory allocated for this method to return the value by calling FreeElementValue following the call to this method.

Example
For an example, refer to SetIntValue(DicomElement,IntPtr,Int32).
Requirements

Target Platforms

See Also

Reference

DicomDataSet Class
DicomDataSet Members
GetValue
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