StrongNameMembershipCondition.Equals(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.