SbNativeArrayT Conversion (SbNativeArrayT to SbNativeArrayUInt16) |
Explicit cast operator to convert an native array of T to a
native array of unsigned short.
Namespace: OIV.Inventor.GenericAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
Syntax public static explicit operator SbNativeArray<ushort> (
SbNativeArray<T> toCast
)
Public Shared Narrowing Operator CType (
toCast As SbNativeArray(Of T)
) As SbNativeArray(Of UShort)
static explicit operator SbNativeArray<unsigned short>^ (
SbNativeArray<T>^ toCast
)
F# does not support the declaration of new casting operators.
Parameters
- toCast
- Type: OIV.Inventor.GenericSbNativeArrayT
Native array to convert.
Return Value
Type:
SbNativeArrayUInt16An instance of SbNativeArray<
ushort>.
Exceptions Exception | Condition |
---|
InvalidOperationException | If native array to cast is not well known. -or- If size are incompatible. -or- If the source array has been instanciated with a managed array. |
See Also