StrongNameMembershipCondition.Equals Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

Public Overrides Function Equals (
	o As Object
) As Boolean

Parameters

o
Type: System.Object

The object to compare to the current StrongNameMembershipCondition.

Return Value

Type: System.Boolean

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

Exception Condition
ArgumentException

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

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

.NET Framework
Available since 1.1
Return to top
Show: