InsertKey method (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short InsertKey (BSTR pszKey, BOOL bOptional);

Overview

Refer to Working with Key Elements.

Remarks

Inserts a new key element in the Dicom Dir Data Set.

If the CurrentElement property is not 0, then the key element will be inserted as a child of the element specified in the the CurrentElement property.

If the new key element is successfully inserted, the the CurrentElement property will be updated with the new key element.

See Also

Elements:

GetKeyValue method, DeleteKey method, MoveRootKey method, MoveParentKey method, MoveChildKey method, MoveFirstKey method, MoveLastKey method, MovePrevKey method, MoveNextKey method, FindFirstKey method, FindLastKey method, FindPrevKey method, FindNextKey method

Topics:

Key Elements: Inserting and Deleting Key Elements