CurrentIOD property (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

DICOMIODItem CurrentIOD

Overview

Refer to Working with Information Object Definitions.

Remarks

Holds the currently selected IOD Structure item.

CurrentIOD has the following Read-Only properties:

Property

Type

Description

Code

long

Code value that specifies the Information Object Definition. The information object may be a Class, a Module or a Tag. For lists of default values, refer to Data Element Tag Constants, IOD Class Constants, and IOD Module Constants.

Name

BSTR

Character string that contains the name of the Information Object Definition.

Type

short

The type of Information Object Definition you are working with. Possible values are:

 

 

DICOM_IOD_TYPE_CLASS

[0x00] Class type Information Object Definition.

 

 

DICOM_IOD_TYPE_MODULE

[0x01] Module type Information Object Definition.

 

 

DICOM_IOD_TYPE_ELEMENT

[0x02] Element type Information Object Definition.

Usage

short

Value that indicates whether the Information Object is mandatory, conditional or optional, and the type of usage. For a list of possible values, refer to IOD Usage Constants. For more information about mandatory, conditional, and optional IODs, refer to An Overview of Dicom or the DICOM Spec.

Description

BSTR

Character string that contains a description of the Information Object Definition.

hIOD

long

Memory handle that can be used to uniquely identify an IOD.

Internally LEADTOOLS maintains a tree structure, referred to as the IOD Structure, of available Information Object Definitions (IODs). TheseIODs can include default IODs available in DICOM, as well as user defined IODs. You can access any of this information, add to the IOD Structure, or delete items from the IOD Structure using the xxxIOD and xxxIODxx methods.

Note: The CurrentIOD property is read only, except for the following two situations:

1. If you have a memory handle to a specific item within the IOD table, you can explicitly set the CurrentIOD property to that item using the SetCurrentIOD method.

2. You can explicitly set the CurrentIOD property to 0.

See Also

Elements:

SetCurrentIOD method, DefaultIOD method, InsertIOD method, DeleteIOD method, ResetIOD method, MoveRootIOD method, MoveParentIOD, MoveChildIOD method, MoveFirstIOD method, MoveLastIOD method, MovePrevIOD method, MoveNextIOD method, FindIOD method, FindClassIOD method, FindModuleIOD method, , SetIODName method, SetIODDescription method

Topics:

Information Object Definitions: Maneuvering Through the IOD Table

 

Information Object Definitions: Searching the IOD Table

 

Information Object Definitions: Inserting and Deleting IODs

 

Information Object Definitions: Modifying an Existing IOD