Share via


HealthState.Equality(HealthState, HealthState) Operator

Definition

Overriding == operator for enum HealthState

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

Parameters

e1
HealthState

the value to compare against e2

e2
HealthState

the value to compare against e1

Returns

true if the two instances are equal to the same value

Applies to