LDicomDS::GetCountValue

#include "Ltdic.h"

L_UINT32 LDicomDS::GetCountValue(pElement)

pDICOMELEMENT pElement;

/* pointer to a DICOMELEMENT structure */

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

Parameter

Description

pElement

Pointer to a DICOMELEMENT structure within the Data Set.

Returns

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

Comments

For more information on retrieving multiple values from the Value Field, refer to the LDicomDS::GetxxxValue functions.

To minimize memory use in your application, you can free the memory allocated for this function to return the value by calling LDicomDS::FreeValue following the call to this function.

Libraries

win32

ltdic15u.dll (ltdic_u.lib import library)

See Also

Function:

LDicomDS::GetInfoDS, LDicomDS::GetPreamble, LDicomDS::GetBinaryValue, LDicomDS::GetCharValue, LDicomDS::GetShortValue, LDicomDS::GetLongValue, LDicomDS::GetFloatValue, LDicomDS::GetDoubleValue, LDicomDS::GetAgeValue, LDicomDS::GetDateValue, LDicomDS::GetDateTimeValue, LDicomDS::GetTimeValue

Topics:

Working with Data Sets

Example

For an example, refer to LDicomDS::GetCharValue.