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

GetElementValueCount Method








An item in the Data Set.
Gets the number of values stored in the Value Field of the specified element. .NET support WinRT support Silverlight support
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
)
ObjectiveC Syntax
 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: 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
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