Class ValueMultiplicity
Namespace: Aspose.Medical.Dicom
Assembly: Aspose.Medical.dll (25.11.0)
The Value Multiplicity specifies how many values with VR can be placed in the Value Field. https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.4.html
public sealed class ValueMultiplicity : IEquatable<valuemultiplicity>Inheritance
Implements
Inherited Members
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ValueMultiplicity()
public ValueMultiplicity()Fields
Four
VM: 4.
public static readonly ValueMultiplicity FourField Value
One
VM: 1.
public static readonly ValueMultiplicity OneField Value
OneEight
VM: 1-8.
public static readonly ValueMultiplicity OneEightField Value
OneMany
VM: 1-n.
public static readonly ValueMultiplicity OneManyField Value
OneNinetyNine
VM: 1-99.
public static readonly ValueMultiplicity OneNinetyNineField Value
OneThirtyTwo
VM: 1-32.
public static readonly ValueMultiplicity OneThirtyTwoField Value
OneThree
VM: 1-3.
public static readonly ValueMultiplicity OneThreeField Value
OneTwo
VM: 1-2.
public static readonly ValueMultiplicity OneTwoField Value
Six
VM: 6.
public static readonly ValueMultiplicity SixField Value
Sixteen
VM: 16.
public static readonly ValueMultiplicity SixteenField Value
Three
VM: 3.
public static readonly ValueMultiplicity ThreeField Value
ThreeMany
VM: 3-n.
public static readonly ValueMultiplicity ThreeManyField Value
ThreeThreeMany
VM: 3-3n.
public static readonly ValueMultiplicity ThreeThreeManyField Value
Two
VM: 2.
public static readonly ValueMultiplicity TwoField Value
TwoMany
VM: 2-n.
public static readonly ValueMultiplicity TwoManyField Value
TwoTwoMany
VM: 2-2n.
public static readonly ValueMultiplicity TwoTwoManyField Value
Properties
Maximum
Maximum number of values that can be placed in the Value Field. Read-only System.Int32.
public required int Maximum { get; init; }Property Value
Minimum
Minimum number of values that can be placed in the Value Field. Read-only System.Int32.
public required int Minimum { get; init; }Property Value
Multiplicity
Specifies number of dimensions for multidimensional element, e.g. for VM equal to 2-2n Aspose.Medical.Dicom.ValueMultiplicity.Multiplicity equal to 2. Read-only System.Int32.
public required int Multiplicity { get; init; }Property Value
Methods
Equals(ValueMultiplicity?)
public bool Equals(ValueMultiplicity? other)Parameters
other ValueMultiplicity
?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
obj object
?
Returns
GetHashCode()
public override int GetHashCode()Returns
Parse(string)
Converts the string representation of a value multiplicity to its typed equivalent.
public static ValueMultiplicity Parse(string str)Parameters
str string
A string containing a value multiplicity to convert.
Returns
A Aspose.Medical.Dicom.ValueMultiplicity equivalent to the value multiplicity specified in str.
Exceptions
Unable to parse value multiplicity.
str cannot be null or whitespace.
ToString()
public override string ToString()Returns
Operators
operator ==(ValueMultiplicity?, ValueMultiplicity?)
Determines whether two specified Aspose.Medical.Dicom.ValueMultiplicity (VM) have the same value.
public static bool operator ==(ValueMultiplicity? left, ValueMultiplicity? right)Parameters
left ValueMultiplicity
?
The first VM to compare.
right ValueMultiplicity
?
The second VM to compare.
Returns
true if the value of left is the same as the value of right;
otherwise, false.
operator !=(ValueMultiplicity?, ValueMultiplicity?)
Determines whether two specified Aspose.Medical.Dicom.ValueMultiplicity (VM) have different values.
public static bool operator !=(ValueMultiplicity? left, ValueMultiplicity? right)Parameters
left ValueMultiplicity
?
The first VM to compare.
right ValueMultiplicity
?
The second VM to compare.
Returns
true if the value of left is different from the value of
right;
otherwise, false.
</valuemultiplicity>