Vector64.GetElement<T>(Vector64<T>, Int32) Method
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.
Gets the element at the specified index.
public:
generic <typename T>
where T : value class[System::Runtime::CompilerServices::Extension]
static T GetElement(System::Runtime::Intrinsics::Vector64<T> vector, int index);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T GetElement(System::Runtime::Intrinsics::Vector64<T> vector, int index);
public static T GetElement<T> (this System.Runtime.Intrinsics.Vector64<T> vector, int index) where T : struct;
public static T GetElement<T> (this System.Runtime.Intrinsics.Vector64<T> vector, int index);
static member GetElement : System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> * int -> 'T (requires 'T : struct)
static member GetElement : System.Runtime.Intrinsics.Vector64<'T> * int -> 'T
<Extension()>
Public Function GetElement(Of T As Structure) (vector As Vector64(Of T), index As Integer) As T
<Extension()>
Public Function GetElement(Of T) (vector As Vector64(Of T), index As Integer) As T
- T
The type of the input vector.
- vector
- Vector64<T>
The vector to get the element from.
- index
- Int32
The index of the element to get.
The value of the element at index
.
The type of vector
(T
) is not supported.
index
was less than zero or greater than the number of elements.
Product | Versions |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: