Share via


DeviceState.Equality(DeviceState, DeviceState) Operator

Definition

Overriding == operator for enum DeviceState

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

Parameters

e1
DeviceState

the value to compare against e2

e2
DeviceState

the value to compare against e1

Returns

true if the two instances are equal to the same value

Applies to