←Select platform

SetAgeValue Method

Summary

Sets the Age values of a Data Element.

Syntax

C#
VB
Java
WinRT C#
C++
public bool SetAgeValue(  
   Leadtools.Dicom.DicomElement element, 
   Leadtools.Dicom.DicomAgeValue[] value 
) 
Public Function SetAgeValue( _ 
   ByVal element As Leadtools.Dicom.DicomElement, _ 
   ByVal value() As Leadtools.Dicom.DicomAgeValue _ 
) As Boolean 
public bool SetAgeValue(  
   Leadtools.Dicom.DicomElement element, 
   Leadtools.Dicom.DicomAgeValue[] value 
) 
public boolean setAgeValue(DicomElement element, DicomAgeValue[] values) 
 function Leadtools.Dicom.DicomDataSet.SetAgeValue(  
   element , 
   value  
) 
public: 
bool SetAgeValue(  
   Leadtools.Dicom.DicomElement^ element, 
   Leadtools.Dicom.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize