Share via


CollectionSet.Key.Equals Method (SfcKey)

Instantiates an instance of the Equals class that is used for Boolean operations.

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

Syntax

'Declaration
Public Overrides Function Equals ( _
    key As SfcKey _
) As Boolean
'Usage
Dim instance As CollectionSet.Key 
Dim key As SfcKey 
Dim returnValue As Boolean 

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

Parameters

Return Value

Type: System.Boolean
A Key object that is the key.

Implements

IEquatable<T>.Equals(T)

Remarks

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

See Also

Reference

CollectionSet.Key Class

Equals Overload

Microsoft.SqlServer.Management.Collector Namespace