DeleteTag Example for C#

//LEADDICOM1 is a DICOM Dataset defined outside this method
private void TestDeleteTag()
{
   try
   {
      int lCode = 0;
      lCode = 131073;
      //move to the selected Tag
      LEADDICOM1.FindTag(lCode);
      //delete it
      LEADDICOM1.DeleteTag();
      return;
   }
   catch
   {
      MessageBox.Show("Error");
   }
}