Méthode PredSourceInfo.Key.Equals (Object, Object)
Tests equality between two objects.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Public Shared Function Equals ( _
obj1 As Object, _
obj2 As Object _
) As Boolean
'Utilisation
Dim obj1 As Object
Dim obj2 As Object
Dim returnValue As Boolean
returnValue = PredSourceInfo.Key.Equals(obj1, obj2)
public static bool Equals(
Object obj1,
Object obj2
)
public:
static bool Equals(
Object^ obj1,
Object^ obj2
)
static member Equals :
obj1:Object *
obj2:Object -> bool
public static function Equals(
obj1 : Object,
obj2 : Object
) : boolean
Paramètres
- obj1
Type : System.Object
A System.Object to compare.
- obj2
Type : System.Object
A System.Object to compare.
Valeur de retour
Type : System.Boolean
A Boolean value that specifies the outcome of performing an equality operation on two objects. If True , the two objects are equal; otherwise False.