다음을 통해 공유


ActorId.Equals Method

Definition

Overloads

Equals(ActorId)

Determines whether this instance and another specified ActorId object have the same value.

Equals(Object)

Determines whether this instance and a specified object, which must also be a ActorId object, have the same value. Overrides Equals(Object).

Equals(ActorId)

Determines whether this instance and another specified ActorId object have the same value.

public bool Equals (Microsoft.ServiceFabric.Actors.ActorId other);
override this.Equals : Microsoft.ServiceFabric.Actors.ActorId -> bool
Public Function Equals (other As ActorId) As Boolean

Parameters

other
ActorId

The actorId to compare to this instance.

Returns

true if the ActorIdKind and id of the other parameter is the same as the ActorIdKind and id of this instance; otherwise, false. If other is null, the method returns false.

Implements

Applies to

Equals(Object)

Determines whether this instance and a specified object, which must also be a ActorId object, have the same value. Overrides Equals(Object).

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

Parameters

obj
Object

The actorId to compare to this instance.

Returns

true if obj is a ActorId and its value is the same as this instance; otherwise, false. If obj is null, the method returns false.

Applies to