Returns the value of a DICOM element
public T GetValue<T>(
DicomElement element,
bool tree,
long tag,
T defaultValue
)
Public Overloads Function GetValue(Of T)( _
ByVal element As DicomElement, _
ByVal tree As Boolean, _
ByVal tag As Long, _
ByVal defaultValue As T _
) As T
public:
T^ GetValuegeneric<typename T>
(
DicomElement^ element,
bool tree,
int64 tag,
T^ defaultValue
)
element
an item in the data set
tree
true to evaluate the Data Set as a tree; false to evaluate the Data Set as a list.
tag
tag of the item to find.
defaultValue
a value of type T that is returned if the actual value cannot be retrieved.
T
specifies the type of the value to return
a value of type T that is the value of the DICOM element
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document