SbImageDataVoxelGetValueT Method |
Gets value at specifed index.
Namespace: OIV.ImageVizAssembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public T GetValue<T>(
ulong index
)
where T : struct, new()
Public Function GetValue(Of T As {Structure, New}) (
index As ULong
) As T
public:
generic<typename T>
where T : value class, gcnew()
T GetValue(
unsigned long long index
)
member GetValue :
index : uint64 -> 'T when 'T : struct, new()
Parameters
- index
- Type: SystemUInt64
Value's index
Type Parameters
- T
- Type to cast to.
Return Value
Type:
TExceptions Exception | Condition |
---|
ArgumentOutOfRangeException |
if index is greater than .
|
ArgumentException |
if T is not the same type as the image data.
|
See Also