public GetValue<>(
DicomElement ,
bool ,
long ,
)
'Declaration
Public Overloads Function GetValue(Of )( _
ByVal As DicomElement, _
ByVal As Boolean, _
ByVal As Long, _
ByVal As _
) As
'Usage
Dim instance As DicomDataSet
Dim element As DicomElement
Dim tree As Boolean
Dim tag As Long
Dim defaultValue As
Dim value As
value = instance.GetValue(Of T)(element, tree, tag, defaultValue)
function Leadtools.Dicom.DicomDataSet.GetValue``1(DicomElement,Boolean,Int64,``0)(
element ,
tree ,
tag ,
defaultValue
)
public:
GetValuegeneric<typename >
(
DicomElement^ ,
bool ,
int64 ,
)
Parameters
- 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.
Type Parameters
- T
- specifies the type of the value to return
Return Value
a value of type T that is the value of the DICOM element