Partilhar via


NamedKey<T>.Equality(NamedKey<T>, NamedKey<T>) Operator

Definition

Compare two keys for value equality.

public static bool operator == (Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<T> leftOperand, Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<T> rightOperand);
static member ( = ) : Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)> * Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)> -> bool
Public Shared Operator == (leftOperand As NamedKey(Of T), rightOperand As NamedKey(Of T)) As Boolean

Parameters

leftOperand
NamedKey<T>

A key to compare.

rightOperand
NamedKey<T>

A key to compare.

Returns

True if both keys are equal or are both null; otherwise false.

Applies to