編輯

共用方式為


ImmutableArray<T>.Equals Method

Definition

Overloads

Equals(Object)

Determines if this array is equal to the specified object.

Equals(ImmutableArray<T>)

Indicates whether specified array is equal to this array.

Equals(Object)

Source:
ImmutableArray_1.Minimal.cs
Source:
ImmutableArray_1.Minimal.cs
Source:
ImmutableArray_1.Minimal.cs
Source:
ImmutableArray_1.Minimal.cs

Determines if this array is equal to the specified object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (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 this array.

Returns

true if this array is equal to obj; otherwise, false.

Applies to

Equals(ImmutableArray<T>)

Source:
ImmutableArray_1.Minimal.cs
Source:
ImmutableArray_1.Minimal.cs
Source:
ImmutableArray_1.Minimal.cs
Source:
ImmutableArray_1.Minimal.cs

Indicates whether specified array is equal to this array.

public:
 virtual bool Equals(System::Collections::Immutable::ImmutableArray<T> other);
public bool Equals (System.Collections.Immutable.ImmutableArray<T> other);
override this.Equals : System.Collections.Immutable.ImmutableArray<'T> -> bool
Public Function Equals (other As ImmutableArray(Of T)) As Boolean

Parameters

other
ImmutableArray<T>

An object to compare with this object.

Returns

true if other is equal to this array; otherwise, false.

Implements

Applies to