Vector.AsVectorNInt<T>(Vector<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將指定向量的位元重新詮釋為本地大小整數向量的位元。
public:
generic <typename T>
static System::Numerics::Vector<IntPtr> AsVectorNInt(System::Numerics::Vector<T> value);
public:
generic <typename T>
where T : value class static System::Numerics::Vector<IntPtr> AsVectorNInt(System::Numerics::Vector<T> value);
public static System.Numerics.Vector<IntPtr> AsVectorNInt<T>(System.Numerics.Vector<T> value);
public static System.Numerics.Vector<nint> AsVectorNInt<T>(System.Numerics.Vector<T> value) where T : struct;
public static System.Numerics.Vector<IntPtr> AsVectorNInt<T>(System.Numerics.Vector<T> value) where T : struct;
static member AsVectorNInt : System.Numerics.Vector<'T> -> System.Numerics.Vector<nativeint>
static member AsVectorNInt : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<nativeint> (requires 'T : struct)
Public Function AsVectorNInt(Of T) (value As Vector(Of T)) As Vector(Of IntPtr)
Public Function AsVectorNInt(Of T As Structure) (value As Vector(Of T)) As Vector(Of IntPtr)
類型參數
- T
輸入向量的類型。
參數
- value
- Vector<T>
需要重新詮釋的方向。
傳回
value 重新詮釋為新的 Vector<T>。
例外狀況
不支援()的valueT類型。