ComponentResourceKey.Equals Method (Object)


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

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override bool Equals(
	object o


Type: System.Object

Object to compare with the current ComponentResourceKey.

Return Value

Type: System.Boolean

true if the objects are equal; otherwise, false.

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

.NET Framework
Available since 3.0
Return to top