←Select platform

SetTimeRangeValue Method

Summary

Sets the Time range values of a Data Element.

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

Parameters

element
An item in the Data Set.

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

Return Value

true if the time 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.TM. 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