Vector4.LastIndexOf(Vector4, Single) 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 the index of the last element in a vector that is equal to a given value.
public:
static int LastIndexOf(System::Numerics::Vector4 vector, float value);
public static int LastIndexOf(System.Numerics.Vector4 vector, float value);
static member LastIndexOf : System.Numerics.Vector4 * single -> int
Public Shared Function LastIndexOf (vector As Vector4, value As Single) As Integer
Parameters
- vector
- Vector4
The vector whose elements are being checked.
- value
- Single
The value to check for in vector
Returns
The index into vector representing the last element that was equal to value; otherwise, -1 if no such element exists.