Vector256<T>.Equals Method

Definition

Overloads

Equals(Object)

确定指定的对象是否等于当前实例。Determines whether the specified object is equal to the current instance.

Equals(Vector256<T>)

确定指定的 Vector256<T> 是否等同于当前实例。Determines whether the specified Vector256<T> is equal to the current instance.

Equals(Object)

确定指定的对象是否等于当前实例。Determines whether the specified object is equal to the current instance.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

要与当前实例比较的对象。The object to compare with the current instance.

Returns

Boolean

如果 trueobj,并且等于当前实例,则为 Vector256<T>;否则为 falsetrue if obj is a Vector256<T> and is equal to the current instance; otherwise, false.

Exceptions

不支持当前实例的类型 (T)。The type of the current instance (T) is not supported.

Equals(Vector256<T>)

确定指定的 Vector256<T> 是否等同于当前实例。Determines whether the specified Vector256<T> is equal to the current instance.

public:
 virtual bool Equals(System::Runtime::Intrinsics::Vector256<T> other);
public bool Equals (System.Runtime.Intrinsics.Vector256<T> other);
override this.Equals : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> bool
Public Function Equals (other As Vector256(Of T)) As Boolean

Parameters

other
Vector256<T>

与当前实例进行比较的 Vector256<T>The Vector256<T> to compare with the current instance.

Returns

Boolean

如果 true 等于当前实例,则为 other;否则为 falsetrue if other is equal to the current instance; otherwise, false.

Implements

Exceptions

不支持当前实例的类型 (T)。The type of the current instance (T) is not supported.

Applies to