Share via


IReadOnlySet Interface

Represents an interface to an immutable set.

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

Syntax

'Declaration
Public Interface IReadOnlySet _
    Inherits IReadOnlyCollection, IEnumerable
'Usage
Dim instance As IReadOnlySet
public interface IReadOnlySet : IReadOnlyCollection, 
    IEnumerable
public interface class IReadOnlySet : IReadOnlyCollection, 
    IEnumerable
type IReadOnlySet =  
    interface 
        interface IReadOnlyCollection 
        interface IEnumerable 
    end
public interface IReadOnlySet extends IReadOnlyCollection, IEnumerable

The IReadOnlySet type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of items that are contained in the collection. (Inherited from IReadOnlyCollection.)

Top

Methods

  Name Description
Public method GetEnumerator (Inherited from IEnumerable.)
Public method IsProperSubsetOf Checks if this set is a subset of another set, but differs from it.
Public method IsProperSupersetOf Checks if this set is a superset of another set, but differs from it.
Public method IsSubsetOf Checks if this set is a subset of another set.
Public method IsSupersetOf Checks if this set is a superset of another set.
Public method Overlaps Checks if this set has any elements in common with another set.
Public method SetEquals Checks if this set contains the same and only the same elements as the other.

Top

See Also

Reference

Microsoft.SqlServer.Management.Sdk.Sfc Namespace