#include "ltdic.h"
L_VOID LDicomDS::DeleteKey(pElement)
Deletes the specified key element from the Dicom Dir Data Set.
Pointer to a DICOMELEMENT structure that contains the key element to delete.
None.
When a key element is deleted using this function, all offspring of the key element (both key element children and non-key element children) and all their respective children are also deleted.
Below are illustrations of this:
For the sake of these illustrations, the order of siblings is top to bottom.
NOTE: The numbering of the items of interest is arbitrary, and does not imply order.
In this illustration item 2 will be deleted. If any of the children of item 2 had children, these would be deleted also.
In this illustration item 3 will be deleted. Again, if any of the children of item 2 had children, these would be deleted also.
NOTE: Key elements should not be deleted using LDicomDS::DeleteElement. Deleting a key element using LDicomDS::DeleteElement will not delete any child key elements, but will delete information that references the child key elements.
For more information about key elements, refer to Working with Basic Directory Key Elements.
Required DLLs and Libraries
Win32, x64
For an example, refer to LDicomDS::InsertKey.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document