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




year
Value that represents the year.
month
Value that represents the month.
day
Value that represents the day.
hours
Value that represents the hour.
minutes
Value that represents the minute.
seconds
Value that represents the second.
fractions
Value that represents the fraction of a second.
offset
The optional suffix that indicates the offset (plus or minus) from Coordinated Universal Time.
Initializes a new DicomDateTimeValue with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal year As Integer, _
   ByVal month As Integer, _
   ByVal day As Integer, _
   ByVal hours As Integer, _
   ByVal minutes As Integer, _
   ByVal seconds As Integer, _
   ByVal fractions As Integer, _
   ByVal offset As Integer _
)
Visual Basic (Usage)Copy Code
Dim year As Integer
Dim month As Integer
Dim day As Integer
Dim hours As Integer
Dim minutes As Integer
Dim seconds As Integer
Dim fractions As Integer
Dim offset As Integer
 
Dim instance As DicomDateTimeValue(year, month, day, hours, minutes, seconds, fractions, offset)
C# 
public DicomDateTimeValue( 
   int year,
   int month,
   int day,
   int hours,
   int minutes,
   int seconds,
   int fractions,
   int offset
)
Managed Extensions for C++ 
public: DicomDateTimeValue( 
   int year,
   int month,
   int day,
   int hours,
   int minutes,
   int seconds,
   int fractions,
   int offset
)
C++/CLI 
public:
DicomDateTimeValue( 
   int year,
   int month,
   int day,
   int hours,
   int minutes,
   int seconds,
   int fractions,
   int offset
)

Parameters

year
Value that represents the year.
month
Value that represents the month.
day
Value that represents the day.
hours
Value that represents the hour.
minutes
Value that represents the minute.
seconds
Value that represents the second.
fractions
Value that represents the fraction of a second.
offset
The optional suffix that indicates the offset (plus or minus) from Coordinated Universal Time.

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