Partager via


IReadOnlySet<T> Interface

Definition

An interface to an immutable set.

public interface IReadOnlySet<T> : Microsoft.SqlServer.Management.Sdk.Sfc.IReadOnlyCollection<T>, Microsoft.SqlServer.Management.Sdk.Sfc.IReadOnlySet, System.Collections.Generic.IEnumerable<T>
type IReadOnlySet<'T> = interface
    interface IReadOnlySet
    interface IReadOnlyCollection
    interface IEnumerable
    interface IReadOnlyCollection<'T>
    interface seq<'T>
Public Interface IReadOnlySet(Of T)
Implements IEnumerable(Of T), IReadOnlyCollection(Of T), IReadOnlySet

Type Parameters

T

The element type of the set.

Implements

Properties

Count

Gets the number of items contained in the IReadOnlyCollection.

(Inherited from IReadOnlyCollection)

Methods

Contains(T)

Determines whether the collection contains a specific value.

(Inherited from IReadOnlyCollection<T>)
CopyTo(T[], Int32)

Copies the elements of the collection to an array, starting at a particular array index.

(Inherited from IReadOnlyCollection<T>)
IsProperSubsetOf(IEnumerable)

Check if this set is a subset of other, but not the same as it.

(Inherited from IReadOnlySet)
IsProperSubsetOf(IEnumerable<T>)

Check if this set is a subset of other, but not the same as it.

IsProperSupersetOf(IEnumerable)

Check if this set is a superset of other, but not the same as it.

(Inherited from IReadOnlySet)
IsProperSupersetOf(IEnumerable<T>)

Check if this set is a superset of other, but not the same as it.

IsSubsetOf(IEnumerable)

Check if this set is a subset of other.

(Inherited from IReadOnlySet)
IsSubsetOf(IEnumerable<T>)

Check if this set is a subset of other.

IsSupersetOf(IEnumerable)

Check if this set is a superset of other.

(Inherited from IReadOnlySet)
IsSupersetOf(IEnumerable<T>)

Check if this set is a superset of other.

Overlaps(IEnumerable)

Check if this set has any elements in common with other.

(Inherited from IReadOnlySet)
Overlaps(IEnumerable<T>)

Check if this set has any elements in common with other.

SetEquals(IEnumerable)

Check if this set contains the same and only the same elements as other.

(Inherited from IReadOnlySet)
SetEquals(IEnumerable<T>)

Check if this set contains the same and only the same elements as other.

Applies to