←Select platform

SetDateTimeValue(DicomElement,DateTime[]) Method

Summary

Sets the Date-Time values of a Data Element.

Syntax
C#
VB
C++
public bool SetDateTimeValue( 
   DicomElement element, 
   DateTime[] value 
) 
Public Overloads Function SetDateTimeValue( _ 
   ByVal element As DicomElement, _ 
   ByVal value() As Date _ 
) As Boolean 
public: 
bool SetDateTimeValue(  
   DicomElement^ element, 
   array<DateTime>^ value 
)  

Parameters

element
An item in the Data Set.

value
Pointer to an array of DateTime objects that contain the Date Time value(s) 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.DT. 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