Partager via


ContainerGroupRestartPolicy.Equality Operator

Definition

Overriding == operator for enum ContainerGroupRestartPolicy

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

Parameters

e1
ContainerGroupRestartPolicy

the value to compare against e2

e2
ContainerGroupRestartPolicy

the value to compare against e1

Returns

true if the two instances are equal to the same value

Applies to