ImageGear v26.5 - Updated March 3, 2025
ImageGear.Core Assembly / ImageGear.Formats.XMP Namespace / ImGearXMPDate Class / ImGearXMPDate Constructor / ImGearXMPDate Constructor(DateTime)
Date and time.




In This Topic
ImGearXMPDate Constructor(DateTime)
In This Topic
Initializes a new instance of the ImGearXMPDate class.
Syntax
'Declaration
 
Public Function New( _
   ByVal dateTime As Date _
)
 
'Usage
 
Dim dateTime As Date
 
Dim instance As New ImGearXMPDate(dateTime)

Parameters

dateTime
Date and time.

Return Value

New instance of the ImGearXMPDate class object.
Remarks
This constructor creates and initializes an instance of the ImGearXMPDate class from a System.DateTime value. If the kind of DateTime value is Unspecified, the time zone offset (hour and minute) of the ImGearXMPDate class instance are left uninitialized. If the kind of DateTime value is UTC, the time zone offset (hour and minute) ImGearXMPDate class instance are initialized with zeroes. If the kind of DateTime value is Local, the time zone offset (hour and minute) ImGearXMPDate class instance are initialized with local time zone offset.
See Also