Redigera

Dela via


StrongNameMembershipCondition.Equals(Object) Method

Definition

Determines whether the StrongName from the specified object is equivalent to the StrongName contained in the current StrongNameMembershipCondition.

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

The object to compare to the current StrongNameMembershipCondition.

Returns

true if the StrongName from the specified object is equivalent to the StrongName contained in the current StrongNameMembershipCondition; otherwise, false.

Implements

Exceptions

The PublicKey property of the current object or the specified object is null.

Remarks

For two StrongName classes to be equal, their name, version, and public key blob must match exactly.

Applies to