Vector256.GetElement<T>(Vector256<T>, Int32) 메서드

정의

지정한 인덱스에 있는 요소를 가져옵니다.

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static T GetElement(System::Runtime::Intrinsics::Vector256<T> vector, int index);
public static T GetElement<T> (this System.Runtime.Intrinsics.Vector256<T> vector, int index) where T : struct;
static member GetElement : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> * int -> 'T (requires 'T : struct)
<Extension()>
Public Function GetElement(Of T As Structure) (vector As Vector256(Of T), index As Integer) As T

형식 매개 변수

T

입력 벡터의 형식입니다.

매개 변수

vector
Vector256<T>

요소를 가져올 벡터입니다.

index
Int32

가져올 요소의 인덱스입니다.

반환

T

index에 있는 요소의 값입니다.

예외

vector(T)의 형식은 지원되지 않습니다.

index가 0 미만이거나 요소 수보다 큽니다.

적용 대상