SiDicomDataSetGetElementUIntValue Method |
Shortcut to extract a UINT element's value.
Namespace: OIV.VolumeViz.Readers.DicomAssembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public ulong GetElementUIntValue(
SoDicomTag tag,
ulong idx,
ulong defaultValue
)
Public Function GetElementUIntValue (
tag As SoDicomTag,
idx As ULong,
defaultValue As ULong
) As ULong
public:
unsigned long long GetElementUIntValue(
SoDicomTag^ tag,
unsigned long long idx,
unsigned long long defaultValue
)
member GetElementUIntValue :
tag : SoDicomTag *
idx : uint64 *
defaultValue : uint64 -> uint64
Parameters
- tag
- Type: OIV.VolumeViz.Readers.DicomSoDicomTag
The tag of the element to find.
- idx
- Type: SystemUInt64
The index of the scalar value to extract.
- defaultValue
- Type: SystemUInt64
The value returned if the extraction fails.
Return Value
Type:
UInt64The unsigned 64 bits integer stored at the given index in the element with the given tag, or the default value if the extraction fails.
Remarks If the value is of a numeric type different from UINT, it will be casted to an unsigned 64 bits integer. That casting may cause a precision loss.
See Also