VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Dicom Namespace / DicomDateTime Class / DicomDateTime Constructors / DicomDateTime Constructor(DateTime,Nullable<TimeSpan>)
Syntax Exceptions Requirements SeeAlso
In This Topic
    DicomDateTime Constructor(DateTime,Nullable<TimeSpan>)
    In This Topic
    Initializes a new instance of the DicomDateTime class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal utcDateTime
    The date time, which is based on Coordinated Universal Time (UTC).
    As System.DateTime, _
    ByVal offsetFromUtc
    The offset from UTC.
    As System.Nullable(Of TimeSpan) _
    )

    Parameters

    utcDateTime
    The date time, which is based on Coordinated Universal Time (UTC).
    offsetFromUtc
    The offset from UTC.
    Exceptions
    ExceptionDescription
    Thrown if date time is not based on Coordinated Universal Time (UTC).
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also