Class DicomValueElement<Tv>
- Namespace
- FellowOakDicom
- Assembly
- fo-dicom.core.dll
public abstract class DicomValueElement<Tv> : DicomElement, IComparable<DicomItem>, IComparable where Tv : struct
Type Parameters
Tv
- Inheritance
-
DicomValueElement<Tv>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
DicomValueElement(DicomTag, IByteBuffer)
protected DicomValueElement(DicomTag tag, IByteBuffer data)
Parameters
tag
DicomTagdata
IByteBuffer
DicomValueElement(DicomTag, params Tv[])
protected DicomValueElement(DicomTag tag, params Tv[] values)
Parameters
tag
DicomTagvalues
Tv[]
Properties
Count
Gets the number of values that the DICOM element contains.
public override int Count { get; }
Property Value
- int
Number of value items
Methods
Equals(DicomElement)
public override bool Equals(DicomElement other)
Parameters
other
DicomElement
Returns
Get<T>(int)
public override T Get<T>(int item = -1)
Parameters
item
int
Returns
- T
Type Parameters
T