Interfaccia IReadOnlySet<T>

Defines properties and methods for the generic immutable sets.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Interface IReadOnlySet(Of T) _
    Inherits IReadOnlySet, IReadOnlyCollection(Of T), IReadOnlyCollection,  _
    IEnumerable(Of T), IEnumerable
'Utilizzo
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 non supporta i metodi e i tipi generici.

Parametri di tipo

  • T
    The type of the elements in the set.

Nel tipo IReadOnlySet<T> sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Count Gets the number of items that are contained in the collection. Ereditato da IReadOnlyCollection.

In alto

Metodi

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

In alto

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc