C#
C++
public T GetValue<T>(
DicomElement element,
T defaultValue,
GetValueDelegate getValueDelegate
)
public:
T^ GetValuegeneric<typename T>
(
DicomElement^ element,
T^ defaultValue,
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.