Share via


CollectionSet.Key.Equals Method (Object)

Performs a Boolean operation to determine if the object passed as a parameter is a key.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As CollectionSet..::..Key
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
abstract Equals : 
        obj:Object -> bool 
override Equals : 
        obj:Object -> bool 
public override function Equals(
    obj : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
A Boolean value that returns TRUE if the object is a key.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.