Share via


PowerState.Equality(PowerState, PowerState) Operator

Definition

Overriding == operator for enum PowerState

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

Parameters

e1
PowerState

the value to compare against e2

e2
PowerState

the value to compare against e1

Returns

true if the two instances are equal to the same value

Applies to