Share via


VirtualMachinePowerState.Equality Operator

Definition

Overriding == operator for enum VirtualMachinePowerState

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

Parameters

e1
VirtualMachinePowerState

the value to compare against e2

e2
VirtualMachinePowerState

the value to compare against e1

Returns

true if the two instances are equal to the same value

Applies to