SbImageDataVoxelCastValueT Method |
Casts value at specifed index to the proper type.
Namespace: OIV.ImageVizAssembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic 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:
T
Exceptions
See Also