此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回向量长度平方值。
public: float LengthSquared();
public float LengthSquared();
public readonly float LengthSquared();
member this.LengthSquared : unit -> single
Public Function LengthSquared () As Single
向量长度平方值。
与调用 Length 方法相比,此操作的性能更好。
.NET