共用方式為


Vector.LoadUnsafe 方法

定義

多載

LoadUnsafe<T>(T)

從指定的來源載入向量。

LoadUnsafe<T>(T, UIntPtr)

從指定的來源和元素位移載入向量。

LoadUnsafe<T>(T)

來源:
Vector.cs
來源:
Vector.cs

從指定的來源載入向量。

public:
generic <typename T>
 static System::Numerics::Vector<T> LoadUnsafe(T % source);
public static System.Numerics.Vector<T> LoadUnsafe<T> (ref T source);
static member LoadUnsafe : 'T -> System.Numerics.Vector<'T>
Public Function LoadUnsafe(Of T) (ByRef source As T) As Vector(Of T)

類型參數

T

向量中專案的型別。

參數

source
T

要從中載入向量的來源。

傳回

source載入的向量。

例外狀況

不支援 source (T) 的類型。

適用於

LoadUnsafe<T>(T, UIntPtr)

來源:
Vector.cs
來源:
Vector.cs

重要

此 API 不符合 CLS 規範。

從指定的來源和元素位移載入向量。

public:
generic <typename T>
 static System::Numerics::Vector<T> LoadUnsafe(T % source, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<T> LoadUnsafe<T> (ref T source, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member LoadUnsafe : 'T * unativeint -> System.Numerics.Vector<'T>
Public Function LoadUnsafe(Of T) (ByRef source As T, elementOffset As UIntPtr) As Vector(Of T)

類型參數

T

向量中專案的型別。

參數

source
T

載入向量之前要加入的來源 elementOffset

elementOffset
UIntPtr

unativeint

要從 source 中載入向量的專案位移。

傳回

source 加上 elementOffset載入的向量。

屬性

例外狀況

不支援 source (T) 的類型。

適用於