System.Security.Policy.GacMembershipCondition.Equals Method

Indicates whether the current object is equivalent to the specified object.

Syntax

public override bool Equals (object o)

Parameters

o
The object to compare with the current object.

Returns

true if o is a System.Security.Policy.GacMembershipCondition; otherwise, false.

Remarks

There are no degrees of global assembly cache membership. An assembly is either in the cache or it is not. If the object identified by o is a System.Security.Policy.GacMembershipCondition, then the objects being compared are equal. This method returns false only if o is null or if o is not a System.Security.Policy.GacMembershipCondition.

Requirements

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0