Returns the value of a DICOM element
public T GetValue<T>(DicomElement element,T defaultValue,GetValueDelegate getValueDelegate)
Public Overloads Function GetValue(Of T)( _ByVal element As Leadtools.Dicom.DicomElement, _ByVal defaultValue As T, _ByVal getValueDelegate As Leadtools.Dicom.GetValueDelegate _) As T
public:T^ GetValuegeneric<typename T>(Leadtools.Dicom.DicomElement^ element,T^ defaultValue,Leadtools.Dicom.GetValueDelegate^ getValueDelegate)
element
an item in the data set
defaultValue
a value of type T that is returned if the actual value cannot be retrieved.
getValueDelegate
an optional delegate that converts that extracted data to any type
T
specifies the type of the value to return
a value of type T that is the value of the DICOM element
For information on this method, see GetValue.
For an example, refer to GetValueDelegate.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
