CurrentElement property (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

DICOMDSElement CurrentElement

Overview

Refer to Working with Data Sets.

Remarks

Holds the currently selected Data Set Element.

CurrentElement has the following Read-Only properties:

Property

Type

Description

Tag

long

Data element tag. For a list of default values, refer to Data Element Tag Constants.

VR

short

Value representation. For a list of default values supported by DICOM, refer to Value Representation Constants.

Length

long

Length of the value stored in the data element. If the stored value is a sequence, this value will be ELEMENT_LENGTH_MAX (0xFFFFFFFF).

hElement

long

Memory handle that can be used to uniquely identify a Data Element.

When a data set is loaded from a DICOM file, only the tag, the value representation and the length of the stored value data are actually loaded. This information is stored in the CurrentElement property. You can access and modify this data set information, add to the data set, or delete items from the data set.

See Also

Elements:

InsertElement method, InsertModule method, DeleteElement method, DeleteModule method, MoveRootElement method, MoveParentElement method, MoveChildElement method, MoveFirstElement method, MoveLastElement method, MoveNextElement method, MovePrevElement method, FindFirstElement method, FindLastElement method, FindPrevElement method, FindNextElement method, SetCurrentElement method, GetValueCount method, GetBinaryValue method, GetCharValue method, GetShortValue method, GetLongValue method, GetFloatValue method, GetDoubleValue method, GetStringValue method, GetAgeValue method, GetTimeValue method, GetDateTimeValue method, SetBinaryValue method, SetCharValue method, SetShortValue method, SetLongValue method, SetFloatValue method, SetDoubleValue method, SetStringValue method, SetAgeValue method, SetTimeValue method, SetDateTimeValue method

Topics:

Data Sets: Maneuvering Through a Data Set

 

Data Sets: Searching a Data Set

 

Data Sets: Inserting and Deleting Data Set Members

 

Data Sets: Getting and Setting Data Element Values