Vector128.All<T>(Vector128<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.
Determines if all elements of a vector are equal to a given value.
public:
generic <typename T>
static bool All(System::Runtime::Intrinsics::Vector128<T> vector, T value);
public static bool All<T>(System.Runtime.Intrinsics.Vector128<T> vector, T value);
static member All : System.Runtime.Intrinsics.Vector128<'T> * 'T -> bool
Public Function All(Of T) (vector As Vector128(Of T), value As T) As Boolean
Type Parameters
- T
The type of the elements in the vector.
Parameters
- vector
- Vector128<T>
The vector whose elements are being checked.
- value
- T
The value to check for in vector
Returns
true if all elements of vector are equal to value; otherwise, false.