Parameters
- Keyword
- The attribute to be removed, specified as a Keyword
If the appropriate data element exists in the DicomDataSet, it is removed.
No error is generated if the requested item is not present in the DataSet.
DicomDataSet ds = new DicomDataSet("Dataset.dcm"); Keyword patientName = Keyword.PatientName; ds.Remove(patientName); var pn = ds[Keyword.PatientName].Value.ToString(); // null