Language

Vector.AsVectorUInt16(Vector) Method

Definition

Important

This API is not CLS-compliant.

Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers.

public:
generic 
 where T : value class static System::Numerics::Vector AsVectorUInt16(System::Numerics::Vector value);
public:
generic 
 static System::Numerics::Vector AsVectorUInt16(System::Numerics::Vector value);
[System.CLSCompliant(false)]
public static System.Numerics.Vector AsVectorUInt16(System.Numerics.Vector value) where T : struct;
[System.CLSCompliant(false)]
public static System.Numerics.Vector AsVectorUInt16(System.Numerics.Vector value);
[]
static member AsVectorUInt16 : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector (requires 'T : struct)
[]
static member AsVectorUInt16 : System.Numerics.Vector<'T> -> System.Numerics.Vector
Public Shared Function AsVectorUInt16(Of T As Structure) (value As Vector(Of T)) As Vector(Of UShort)
Public Function AsVectorUInt16(Of T) (value As Vector(Of T)) As Vector(Of UShort)
Public Function AsVectorUInt16(Of T As Structure) (value As Vector(Of T)) As Vector(Of UShort)

Type Parameters

T

The vector type. T can be any primitive numeric type.

Parameters

value
Vector

The source vector.

Returns

The reinterpreted vector.

Attributes

Exceptions

The type of value (T) is not supported.

Applies to