Vector128.LoadUnsafe 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
LoadUnsafe<T>(T) |
從指定的來源載入向量。 |
LoadUnsafe<T>(T, UIntPtr) |
從指定的來源和元素位移載入向量。 |
LoadUnsafe<T>(T)
- 來源:
- Vector128.cs
- 來源:
- Vector128.cs
- 來源:
- Vector128.cs
從指定的來源載入向量。
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector128<T> LoadUnsafe(T % source);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> LoadUnsafe(T % source);
public static System.Runtime.Intrinsics.Vector128<T> LoadUnsafe<T> (ref T source) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> LoadUnsafe<T> (ref T source);
static member LoadUnsafe : 'T -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member LoadUnsafe : 'T -> System.Runtime.Intrinsics.Vector128<'T>
Public Function LoadUnsafe(Of T As Structure) (ByRef source As T) As Vector128(Of T)
Public Function LoadUnsafe(Of T) (ByRef source As T) As Vector128(Of T)
類型參數
- T
向量中專案的型別。
參數
- source
- T
要從中載入向量的來源。
傳回
從 source
載入的向量。
例外狀況
不支援 source
(T
) 的類型。
適用於
LoadUnsafe<T>(T, UIntPtr)
- 來源:
- Vector128.cs
- 來源:
- Vector128.cs
- 來源:
- Vector128.cs
重要
此 API 不符合 CLS 規範。
從指定的來源和元素位移載入向量。
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector128<T> LoadUnsafe(T % source, UIntPtr elementOffset);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> LoadUnsafe(T % source, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<T> LoadUnsafe<T> (ref T source, UIntPtr elementOffset) where T : struct;
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<T> LoadUnsafe<T> (ref T source, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member LoadUnsafe : 'T * unativeint -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
[<System.CLSCompliant(false)>]
static member LoadUnsafe : 'T * unativeint -> System.Runtime.Intrinsics.Vector128<'T>
Public Function LoadUnsafe(Of T As Structure) (ByRef source As T, elementOffset As UIntPtr) As Vector128(Of T)
Public Function LoadUnsafe(Of T) (ByRef source As T, elementOffset As UIntPtr) As Vector128(Of T)
類型參數
- T
向量中專案的型別。
參數
- source
- T
載入向量之前要加入的來源 elementOffset
。
- elementOffset
-
UIntPtr
unativeint
要從 source
中載入向量的專案位移。
傳回
從 source
加上 elementOffset
載入的向量。
- 屬性
例外狀況
不支援 source
(T
) 的類型。