←Select platform

SetDateRangeValue Method

Summary
Sets the Date range values of a Data Element.
Syntax
C#
VB
C++
Java
public bool SetDateRangeValue( 
   DicomElement element, 
   DicomDateRangeValue[] value 
) 
Public Function SetDateRangeValue( _ 
   ByVal element As DicomElement, _ 
   ByVal value() As DicomDateRangeValue _ 
) As Boolean 
public boolean setDateRangeValue(DicomElement element, DicomDateRangeValue[] values) 
public: 
bool SetDateRangeValue(  
   DicomElement^ element, 
   array<DicomDateRangeValue>^ value 
)  

Parameters

element
An item in the Data Set.

value
Pointer to an array of DicomDateRangeValue objects that contain the Date range value(s) to set.

Return Value

true if the Date range values were set successfully; otherwise, it is false.

Remarks

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

Example

For an example, refer to SetDateValue.

Requirements

Target Platforms

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

Leadtools.Dicom Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.