DicomObjects.NET.V8
DicomObjects Namespace / DicomAttribute Class / VM Property



In This Topic
    VM Property
    In This Topic
    The value multiplicity of an attribute
    Syntax
    'Declaration
     
    Public ReadOnly Property VM As Integer
    'Usage
     
    Dim instance As DicomAttribute
    Dim value As Integer
     
    value = instance.VM
    public int VM {get;}
    public:
    property int VM {
       int get();
    }
    Remarks

    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.

    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also