Vector128.LoadUnsafe Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LoadUnsafe<T>(T) |
Loads a vector from the given source. |
LoadUnsafe<T>(T, UIntPtr) |
Loads a vector from the given source and element offset. |
LoadUnsafe<T>(T)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
Loads a vector from the given source.
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)
Type Parameters
- T
The type of the elements in the vector.
Parameters
- source
- T
The source from which the vector will be loaded.
Returns
The vector loaded from source
.
Exceptions
The type of source
(T
) is not supported.
Applies to
LoadUnsafe<T>(T, UIntPtr)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
Important
This API is not CLS-compliant.
Loads a vector from the given source and element offset.
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)
Type Parameters
- T
The type of the elements in the vector.
Parameters
- source
- T
The source to which elementOffset
will be added before loading the vector.
- elementOffset
-
UIntPtr
unativeint
The element offset from source
from which the vector will be loaded.
Returns
The vector loaded from source
plus elementOffset
.
- Attributes
Exceptions
The type of source
(T
) is not supported.