SbImageDataVoxelCastValueT Method |
Casts value at specifed index to the proper type.
Namespace: OIV.ImageVizAssembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public T CastValue<T>(
ulong index
)
where T : struct, new()
Public Function CastValue(Of T As {Structure, New}) (
index As ULong
) As T
public:
generic<typename T>
where T : value class, gcnew()
T CastValue(
unsigned long long index
)
member CastValue :
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 .
|
See Also