DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / ItemLocation Class / Index Property






In This Topic
    Index Property (ItemLocation)
    In This Topic
    The index of the value in question.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property Index As System.Integer
    'Usage
     
    
    Dim instance As ItemLocation
    Dim value As System.Integer
     
    value = instance.Index
    public System.int Index {get;}
    public read-only property Index: System.Integer; 
    public function get Index : System.int
    public: __property System.int get_Index();
    public:
    property System.int Index {
       System.int get();
    }
    Remarks

    For sequences, this is the sequential number of the dataset within the sequence, and for specific values (e.g. when reporting errors) it is the index of the data items within the attribute. In both these cases, the numbering, as per conventional DICOM usage starts from 1.

    For items which do not have a partcular item number (e.g. an error relating to the VM being wrong) it is zero.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also