編輯

共用方式為


ComponentResourceKey.Equals(Object) Method

Definition

Determines whether the provided object is equal to the current ComponentResourceKey.

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

Parameters

o
Object

Object to compare with the current ComponentResourceKey.

Returns

true if the objects are equal; otherwise, false.

Remarks

Two keys are equal if they both have the same values for all their immediate settable properties (ResourceId, TypeInTargetAssembly).

Applies to