ClearCanvas.ImageViewer.StudyManagement.Sop.TryGetAttribute C# (CSharp) Method

TryGetAttribute() public method

Gets a specific DICOM attribute in the underlying native object.
DicomAttributes returned from this indexer are considered read-only and should not be modified in any way.
Thrown if the specified DICOM tag is not within the valid range for either the meta info or the dataset.
public TryGetAttribute ( ClearCanvas.Dicom.DicomTag tag, ClearCanvas.Dicom.DicomAttribute &dicomAttribute ) : bool
tag ClearCanvas.Dicom.DicomTag The DICOM tag of the attribute to retrieve.
dicomAttribute ClearCanvas.Dicom.DicomAttribute Returns the requested .
return bool
		public virtual bool TryGetAttribute(DicomTag tag, out DicomAttribute dicomAttribute)
		{
			return DataSource.TryGetAttribute(tag, out dicomAttribute);
		}

Same methods

Sop::TryGetAttribute ( uint tag, ClearCanvas.Dicom.DicomAttribute &dicomAttribute ) : bool