Equality opérateur (PolicyCategory.Key, Object)
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (dans Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public Shared Operator = ( _
leftOperand As PolicyCategory..::..Key, _
obj As Object _
) As Boolean
'Utilisation
Dim leftOperand As PolicyCategory..::..Key
Dim obj As Object
Dim returnValue As Boolean
returnValue = (leftOperand = obj)
public static bool operator ==(
PolicyCategory..::..Key leftOperand,
Object obj
)
public:
static bool operator ==(
PolicyCategory..::..Key^ leftOperand,
Object^ obj
)
static let inline (=)
leftOperand:PolicyCategory..::..Key *
obj:Object : bool
JScript prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.
Paramètres
- leftOperand
Type : Microsoft.SqlServer.Management.Dmf. . :: . .PolicyCategory. . :: . .Key
- obj
Type : System. . :: . .Object
Valeur de retour
Type : System. . :: . .Boolean