←Select platform

GetElementValueCount Method

Summary

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

Syntax

C#
VB
Java
WinRT C#
C++
public int GetElementValueCount( 
   DicomElement element 
) 
Public Function GetElementValueCount( _ 
   ByVal element As Leadtools.Dicom.DicomElement _ 
) As Integer 
public int GetElementValueCount(  
   Leadtools.Dicom.DicomElement element 
) 
public int getElementValueCount(DicomElement element) 
 function Leadtools.Dicom.DicomDataSet.GetElementValueCount(  
   element  
) 
public: 
int GetElementValueCount(  
   Leadtools.Dicom.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly