DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomAttribute Class / VM Property

In This Topic
    VM Property
    In This Topic
    The value multiplicity of an attribute
    Public ReadOnly Property VM As System.Integer
    Dim instance As DicomAttribute
    Dim value As System.Integer
    value = instance.VM
    public System.int VM {get;}
    public read-only property VM: System.Integer; 
    public function get VM : System.int
    public: __property System.int get_VM();
    property System.int VM {
       System.int get();

    This property returns the actual number of items which will be returned by a call to the Attribute’s Value property. If the attribute has zero length, then the value will be 0, and if it is only allowed to have a single value then it will be 1, but for other cases the value depends on the data itself. If the Value property returns an array, then the value of this property equals the upper bound of the array.

    If the underlying attribute is a sequence, then this property returns the number of items in the sequence.


    Target Platforms: .NET CLR 4.8 or higher

    See Also