openDICOM.NET API Reference (openDICOM# Class Library)

ValueMultiplicity Members

ValueMultiplicity overview

Public Instance Constructors

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

Public Instance Properties

IsUnbounded Returns whether a VM instance is unbounded which means the upper factor is only a multiplier and not determined. For example, "1-3" is not unbounded unlike "2-2n".
IsUndefined Returns whether a VM instance is undefined. An undefined VM equals to a string representation of "0". A data element with a undefined VM is not registered to the used data element dictionary.
LowerFactor Lower factor of a VM. In case of "1-3", the lower factor is 1. If the DICOM VM is only one number, the lower and upper factors will be equal.
UpperFactor Upper factor of a VM. In case of "1-3", the upper factor is 3. If the DICOM VM is only one number, the lower and upper factors will be equal. In case of use of variables like "2-2n", the upper factor will only be the corresponding multiplier. In this example the upper factor will be 2.
Value DICOM VM as string representation. For example, "1", "1-3", "1-n" or "2-2n" are possible string representations.
VR Corresponding DICOM value representation.

Public Instance Methods

EqualsOverloaded. Determines whether this VM instance is exactly equal to a specified count of values. Equality can only be given by defined, bounded and invariable DICOM VMs like "1" or "3".
IsValid Determines whether a specified count of values is conform with this DICOM VM instance. This method is supposed to be used for validation of real count of DICOM values against the corresponding DICOM data element dictionary entry.
ToString Returns the string representation of a VM instance.

See Also

ValueMultiplicity Class | openDicom.Registry Namespace