语言

Vector4.LastIndexOfWhereAllBitsSet(Vector4) 方法

定义

确定已设置所有位的向量中最后一个元素的索引。

public:
 static int LastIndexOfWhereAllBitsSet(System::Numerics::Vector4 vector);
public static int LastIndexOfWhereAllBitsSet(System.Numerics.Vector4 vector);
static member LastIndexOfWhereAllBitsSet : System.Numerics.Vector4 -> int
Public Shared Function LastIndexOfWhereAllBitsSet (vector As Vector4) As Integer

参数

vector
Vector4

要检查其元素的向量。

返回

表示 vector 已设置所有位的最后一个元素的索引;否则, -1 如果不存在此类元素。

适用于