Share via


EvictionPolicy.Equality(EvictionPolicy, EvictionPolicy) Operator

Definition

Overriding == operator for enum EvictionPolicy

public static bool operator == (Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.EvictionPolicy e1, Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.EvictionPolicy e2);
static member ( = ) : Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.EvictionPolicy * Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.EvictionPolicy -> bool
Public Shared Operator == (e1 As EvictionPolicy, e2 As EvictionPolicy) As Boolean

Parameters

e1
EvictionPolicy

the value to compare against e2

e2
EvictionPolicy

the value to compare against e1

Returns

true if the two instances are equal to the same value

Applies to