共用方式為


SharingState.Equality(SharingState, SharingState) Operator

Definition

Overriding == operator for enum SharingState

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

Parameters

e1
SharingState

the value to compare against e2

e2
SharingState

the value to compare against e1

Returns

true if the two instances are equal to the same value

Applies to