openDICOM.NET API Reference (openDICOM# Class Library)

Value Members

Value overview

Public Instance Constructors

Value Overloaded. Initializes a new instance of the Value class.

Public Instance Properties

Count Returns the count of single values within a DICOM value instance.
IsAge Returns whether this DICOM value instance contains values of type Age.
IsArray Returns whether this DICOM value instance contains values of type string. Be careful! Do not confuse with IsMultiValue! This property concerns a single value entry.
IsDate Returns whether this DICOM value instance contains values that are dates. This values can be understood as DateTime.
IsEmpty Returns whether this DICOM value instance contains any values.
IsMultiValue Returns whether this DICOM value instance contains of multiple values.
IsNestedDataSet Returns whether this DICOM value instance contains values that are build up of a DICOM NestedDataSet
IsNumeric Returns whether this DICOM value instance contains values of a numeric type like int or float. Easy processing might be given by Decimal.
IsPersonName Returns whether this DICOM value instance contains values of type PersonName.
IsPixelData Returns whether this DICOM value instance contains a value that is DICOM pixel data. This value can be processed with help of PixelData.
IsSequence Returns whether this DICOM value instance contains values that are build up of a DICOM Sequence
IsString Returns whether this DICOM value instance contains values of type string.
IsTag Returns whether this DICOM value instance contains values of type DICOM Tag.
IsTime Returns whether this DICOM value instance contains values that are times. This values can be understood as TimeSpan.
IsUid Returns whether this DICOM value instance contains values of type DICOM Uid.
IsUndefined Returns whether this DICOM value instance deals with undefined value representation or value types. In this case, only values as byte arrays are expected.
IsUnknown Returns whether this DICOM value instance deals with DICOM VR Unknown (UN) values. In this case, only values as byte arrays are expected.
Item Access this DICOM value instance as array.
StreamPosition Returns this instance's position within a DICOM data stream. If this instance does not belong to a stream, -1 will be returned.
TransferSyntax Access corresponding DICOM transfer syntax.
ValueLength Access corresponding DICOM value length.
VR Access corresponding DICOM VR.

Public Instance Methods

AddOverloaded. Adds a single value to a DICOM value instance.
CompareTo Implementation of the IComparable interface. So the use of this instance within collections is guaranteed.
GetEnumerator Needed by C# foreach-statements. Makes life easier.
LoadFrom Re-creates this DICOM value instance from specified DICOM output stream using TransferSyntax.
ToArray Returns all value entries of a DICOM value instance as array.

See Also

Value Class | openDicom.DataStructure Namespace