Freigeben über


IReadOnlySet<T>-Schnittstelle

Defines properties and methods for the generic immutable sets.

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

Syntax

'Declaration
Public Interface IReadOnlySet(Of T) _
    Inherits IReadOnlySet, IReadOnlyCollection(Of T), IReadOnlyCollection,  _
    IEnumerable(Of T), IEnumerable
'Usage
Dim instance As IReadOnlySet(Of T)
public interface IReadOnlySet<T> : IReadOnlySet, 
    IReadOnlyCollection<T>, IReadOnlyCollection, IEnumerable<T>, IEnumerable
generic<typename T>
public interface class IReadOnlySet : IReadOnlySet, 
    IReadOnlyCollection<T>, IReadOnlyCollection, IEnumerable<T>, IEnumerable
type IReadOnlySet<'T> =  
    interface 
        interface IReadOnlySet 
        interface IReadOnlyCollection<'T>
        interface IReadOnlyCollection 
        interface IEnumerable<'T>
        interface IEnumerable 
    end
JScript bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.

Typparameter

  • T
    The type of the elements in the set.

Der IReadOnlySet<T>-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of items that are contained in the collection. (Geerbt von IReadOnlyCollection.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Contains Determines whether the specified item is contained in the collection. (Geerbt von IReadOnlyCollection<T>.)
Öffentliche Methode CopyTo Copies the elements of the collection to the specified array, starting at a particular array index. (Geerbt von IReadOnlyCollection<T>.)
Öffentliche Methode GetEnumerator (Geerbt von IEnumerable<T>.)
Öffentliche Methode IsProperSubsetOf(IEnumerable) Checks if this set is a subset of another set, but differs from it. (Geerbt von IReadOnlySet.)
Öffentliche Methode IsProperSubsetOf(IEnumerable<T>) Determines whether this set is a subset of another set, but differs from it.
Öffentliche Methode IsProperSupersetOf(IEnumerable) Checks if this set is a superset of another set, but differs from it. (Geerbt von IReadOnlySet.)
Öffentliche Methode IsProperSupersetOf(IEnumerable<T>) Determines whether this set is a superset of another set, but differs from it.
Öffentliche Methode IsSubsetOf(IEnumerable) Checks if this set is a subset of another set. (Geerbt von IReadOnlySet.)
Öffentliche Methode IsSubsetOf(IEnumerable<T>) Determines whether this set is a subset of another set.
Öffentliche Methode IsSupersetOf(IEnumerable) Checks if this set is a superset of another set. (Geerbt von IReadOnlySet.)
Öffentliche Methode IsSupersetOf(IEnumerable<T>) Determines whether this set is a superset of another set.
Öffentliche Methode Overlaps(IEnumerable) Checks if this set has any elements in common with another set. (Geerbt von IReadOnlySet.)
Öffentliche Methode Overlaps(IEnumerable<T>) Determines whether this set has any elements in common with another set.
Öffentliche Methode SetEquals(IEnumerable) Checks if this set contains the same and only the same elements as the other. (Geerbt von IReadOnlySet.)
Öffentliche Methode SetEquals(IEnumerable<T>) Determines whether this set contains the same and only the same elements as the other.

Zum Anfang

Siehe auch

Verweis

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace