Class DicomDateElement
Inheritance
DicomDateElement
Inherited Members
Namespace: Dicom
Assembly: cs.temp.dll.dll
Syntax
public abstract class DicomDateElement : DicomMultiStringElement, IComparable<DicomItem>, IComparable
Constructors
DicomDateElement(DicomTag, String[], DicomDateRange)
Initializes a DicomDateElement instance.
Declaration
protected DicomDateElement(DicomTag tag, string[] dateFormats, DicomDateRange range)
Parameters
Type | Name | Description |
---|---|---|
DicomTag | tag | DICOM tag. |
String[] | dateFormats | Supported date/time formats. |
DicomDateRange | range | Date/time range. |
DicomDateElement(DicomTag, String[], IByteBuffer)
Initializes a DicomDateElement instance.
Declaration
protected DicomDateElement(DicomTag tag, string[] dateFormats, IByteBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
DicomTag | tag | DICOM tag. |
String[] | dateFormats | Supported date/time formats. |
IByteBuffer | buffer | Byte buffer from which to read values. |
DicomDateElement(DicomTag, String[], DateTime[])
Initializes a DicomDateElement instance.
Declaration
protected DicomDateElement(DicomTag tag, string[] dateFormats, params DateTime[] values)
Parameters
Type | Name | Description |
---|---|---|
DicomTag | tag | DICOM tag. |
String[] | dateFormats | Supported date/time formats. |
DateTime[] | values | Values. |
DicomDateElement(DicomTag, String[], String[])
Initializes a DicomDateElement instance.
Declaration
protected DicomDateElement(DicomTag tag, string[] dateFormats, params string[] values)
Parameters
Type | Name | Description |
---|---|---|
DicomTag | tag | DICOM tag. |
String[] | dateFormats | Supported date/time formats. |
String[] | values | Values. |
Properties
DateFormats
Supported date formats.
Declaration
protected string[] DateFormats { get; }
Property Value
Type | Description |
---|---|
String[] |
Methods
Get<T>(Int32)
Get element value(s).
Declaration
public override T Get<T>(int item = -1)
Parameters
Type | Name | Description |
---|---|---|
Int32 | item | Item index, if applicable. |
Returns
Type | Description |
---|---|
T | Value(s) of type |
Type Parameters
Name | Description |
---|---|
T | Return value type. |