Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
ToDateTime Method
See Also 
Leadtools.Dicom Namespace > DicomDateTimeValue Structure : ToDateTime Method




Converts the DicomDateTimeValue to a DateTime equivalent.

Syntax

Visual Basic (Declaration) 
Public Function ToDateTime() As Date
Visual Basic (Usage)Copy Code
Dim instance As DicomDateTimeValue
Dim value As Date
 
value = instance.ToDateTime()
C# 
public DateTime ToDateTime()
Managed Extensions for C++ 
public: DateTime ToDateTime(); 
C++/CLI 
public:
DateTime ToDateTime(); 

Return Value

DateTime equivalent of a DicomDateTimeValue.

Example

For an example, refer to SetIntValue.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features