Vector.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.
public:
generic <typename T>
static System::Numerics::Vector<T> Load(T* source);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<T> Load<T> (T* source);
[<System.CLSCompliant(false)>]
static member Load : nativeptr<'T> -> System.Numerics.Vector<'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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.