←Select platform

SetDateTimeValue(DicomElement,DicomDateTimeValue[]) Method

Summary

Sets the Date-Time values of a Data Element.

Syntax

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

Parameters

element
An item in the Data Set.

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

Return Value

true if the DateTime values were set successfully; otherwise, it is false (the DateTime 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