public GetSL ( Dicom.Data.DicomTag tag ) : DcmSignedLong | ||
tag | Dicom.Data.DicomTag | |
Résultat | DcmSignedLong |
public DcmSignedLong GetSL(DicomTag tag)
{
DcmElement elem = GetElement(tag);
if (elem is DcmSignedLong)
return elem as DcmSignedLong;
if (elem != null)
throw new DicomDataException("Tried to access element with incorrect VR");
return null;
}