←Select platform

GetElementValueCount Method

Summary

Gets the number of values stored in the Value Field of the specified element.

Syntax
C#
VB
Java
C++
public int GetElementValueCount( 
   DicomElement element 
) 
Public Function GetElementValueCount( _ 
   ByVal element As DicomElement _ 
) As Integer 
public int getElementValueCount(DicomElement 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.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly