Vector.LastIndexOfWhereAllBitsSet<T>(Vector<T>) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine l’index du dernier élément d’un vecteur qui a tous les bits définis.
public:
generic <typename T>
static int LastIndexOfWhereAllBitsSet(System::Numerics::Vector<T> vector);
public static int LastIndexOfWhereAllBitsSet<T>(System.Numerics.Vector<T> vector);
static member LastIndexOfWhereAllBitsSet : System.Numerics.Vector<'T> -> int
Public Function LastIndexOfWhereAllBitsSet(Of T) (vector As Vector(Of T)) As Integer
Paramètres de type
- T
Type des éléments dans le vecteur.
Paramètres
- vector
- Vector<T>
Vecteur dont les éléments sont vérifiés.
Retours
Index dans vector lequel représente le dernier élément qui avait tous les bits définis ; sinon, -1 s’il n’existe aucun élément de ce type.