Redigera

Dela via


Vector128.Load<T>(T*) Method

Definition

Important

This API is not CLS-compliant.

Loads a vector from the given source.

public:
generic <typename T>
 where T : value class static System::Runtime::Intrinsics::Vector128<T> Load(T* source);
public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector128<T> Load(T* source);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<T> Load<T> (T* source) where T : struct;
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<T> Load<T> (T* source);
[<System.CLSCompliant(false)>]
static member Load : nativeptr<'T> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
[<System.CLSCompliant(false)>]
static member Load : nativeptr<'T> -> System.Runtime.Intrinsics.Vector128<'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.

Attributes

Exceptions

The type of source (T) is not supported.

Applies to