你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PolicyStatus.Equality(PolicyStatus, PolicyStatus) 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 PolicyStatus
public static bool operator == (Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Support.PolicyStatus e1, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Support.PolicyStatus e2);
static member ( = ) : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Support.PolicyStatus * Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Support.PolicyStatus -> bool
Public Shared Operator == (e1 As PolicyStatus, e2 As PolicyStatus) As Boolean
Parameters
- e1
- PolicyStatus
the value to compare against e2
- e2
- PolicyStatus
the value to compare against e1
Returns
true
if the two instances are equal to the same value