←Select platform

SetTimeValue(DicomElement,DicomTimeValue[]) Method

Summary

Sets the Time value of a Data Element.

Syntax

C#
VB
Java
WinRT C#
C++
public bool SetTimeValue(  
   Leadtools.Dicom.DicomElement element, 
   Leadtools.Dicom.DicomTimeValue[] value 
) 
Public Overloads Function SetTimeValue( _ 
   ByVal element As Leadtools.Dicom.DicomElement, _ 
   ByVal value() As Leadtools.Dicom.DicomTimeValue _ 
) As Boolean 
public bool SetTimeValue(  
   Leadtools.Dicom.DicomElement element, 
   Leadtools.Dicom.DicomTimeValue[] value 
) 
public boolean setTimeValue(DicomElement element, DicomTimeValue[] values) 
 function Leadtools.Dicom.DicomDataSet.SetTimeValue(DicomElement,DicomTimeValue[])(  
   element , 
   value  
) 
public: 
bool SetTimeValue(  
   Leadtools.Dicom.DicomElement^ element, 
   Leadtools.Dicom.array<DicomTimeValue>^ value 
)  

Parameters

element
An item in the Data Set.

value
Pointer to an array of DicomTimeValue objects that contain the Time values to set.

Return Value

true if the Time values were set successfully; otherwise, it is false (the Time values of the Data Element could not be set).

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 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