LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ToDateTime Method
See Also 
Leadtools.Dicom Namespace > DicomDateValue Structure : ToDateTime Method



Converts the DicomDateValue to a DateTime equivalent. Supported in Silverlight, Windows Phone 7.

Syntax

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

Return Value

DateTime equivalent of a DicomDateValue.

Example

For an example, refer to DicomDataSet.SetIntValue.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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