你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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