Vector128.Load<T>(T*) 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.

Important

This API is not CLS-compliant.

Loads a vector from the given source.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<T> Load<T>(T* source);
C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<T> Load<T>(T* source) where T : struct;

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

Product Versions
.NET 7, 8, 9, 10