DeleteElement Example for C++ 6.0 and later
short nRet;
m_pLEADDicomDS->EnableMethodErrors = FALSE;
m_pLEADDicomDS->FindFirstElement(TAG_STUDY_DATE, TRUE);
nRet = m_pLEADDicomDS->DeleteElement();
m_pLEADDicomDS->EnableMethodErrors = TRUE;
if(nRet != 0)
AfxMessageBox("Error Deleting Element!");