DicomObjects.NET8 Documentation
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also