Share via


IReadOnlySet<T>.SetEquals Method (IEnumerable<T>)

Determines whether this set contains the same and only the same elements as the other.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function SetEquals ( _
    other As IEnumerable(Of T) _
) As Boolean
'Usage
Dim instance As IReadOnlySet 
Dim other As IEnumerable(Of T)
Dim returnValue As Boolean 

returnValue = instance.SetEquals(other)
bool SetEquals(
    IEnumerable<T> other
)
bool SetEquals(
    IEnumerable<T>^ other
)
abstract SetEquals : 
        other:IEnumerable<'T> -> bool
function SetEquals(
    other : IEnumerable<T>
) : boolean

Parameters

Return Value

Type: System.Boolean
true if this set contains the same and only the same elements as the other; otherwise, false.

See Also

Reference

IReadOnlySet<T> Interface

SetEquals Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace