←Select platform

SetAgeValue Method

Summary

Sets the Age values of a Data Element.

Syntax
C#
VB
Java
C++
public bool SetAgeValue( 
   DicomElement element, 
   DicomAgeValue[] value 
) 
Public Function SetAgeValue( _ 
   ByVal element As DicomElement, _ 
   ByVal value() As DicomAgeValue _ 
) As Boolean 
public boolean setAgeValue(DicomElement element, DicomAgeValue[] values) 
public: 
bool SetAgeValue(  
   DicomElement^ element, 
   array<DicomAgeValue>^ value 
)  

Parameters

element
An item in the Data Set.

value
Pointer to an array of DicomAgeValue objects that contain the Age value(s) to set.

Return Value

true if the Age value(s) were set successfully. false if could not set the Age value(s) of the Data Element.

Remarks

This method can be called only if the Value Representation of the Data Element is DicomVRType.AS. For more information about Value Representations, refer to Default Value Representation Table.

Example

For an example, refer to SetIntValue.

Requirements

Target Platforms

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

Leadtools.Dicom Assembly