Dicom.Data.DcmDataset.Remove C# (CSharp) Method

Remove() public method

public Remove ( Dicom.Data.DicomTag tag ) : void
tag Dicom.Data.DicomTag
return void
        public void Remove(DicomTag tag)
        {
            try { _items.Remove(tag); }
            catch { }
        }

Same methods

DcmDataset::Remove ( Dicom.Data.DicomTagMask mask ) : void

Usage Example

示例#1
0
		public void Transform(DcmDataset dataset) {
			List<DicomTag> remove = new List<DicomTag>(dataset.GetMaskedTags(_mask));
			foreach (DicomTag tag in remove) {
				dataset.Remove(tag);
			}
		}