你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PowerState.Equality(PowerState, PowerState) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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