Compartir a través de


Interfaz IReadOnlySet<T>

Defines properties and methods for the generic immutable sets.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
Public Interface IReadOnlySet(Of T) _
    Inherits IReadOnlySet, IReadOnlyCollection(Of T), IReadOnlyCollection,  _
    IEnumerable(Of T), IEnumerable
'Uso
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 no admite tipos y métodos genéricos.

Parámetros de tipo

  • T
    The type of the elements in the set.

El tipo IReadOnlySet<T> expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of items that are contained in the collection. (Se hereda de IReadOnlyCollection.)

Arriba

Métodos

  Nombre Descripción
Método público Contains Determines whether the specified item is contained in the collection. (Se hereda de IReadOnlyCollection<T>.)
Método público CopyTo Copies the elements of the collection to the specified array, starting at a particular array index. (Se hereda de IReadOnlyCollection<T>.)
Método público GetEnumerator (Se hereda de IEnumerable<T>.)
Método público IsProperSubsetOf(IEnumerable) Checks if this set is a subset of another set, but differs from it. (Se hereda de IReadOnlySet.)
Método público IsProperSubsetOf(IEnumerable<T>) Determines whether this set is a subset of another set, but differs from it.
Método público IsProperSupersetOf(IEnumerable) Checks if this set is a superset of another set, but differs from it. (Se hereda de IReadOnlySet.)
Método público IsProperSupersetOf(IEnumerable<T>) Determines whether this set is a superset of another set, but differs from it.
Método público IsSubsetOf(IEnumerable) Checks if this set is a subset of another set. (Se hereda de IReadOnlySet.)
Método público IsSubsetOf(IEnumerable<T>) Determines whether this set is a subset of another set.
Método público IsSupersetOf(IEnumerable) Checks if this set is a superset of another set. (Se hereda de IReadOnlySet.)
Método público IsSupersetOf(IEnumerable<T>) Determines whether this set is a superset of another set.
Método público Overlaps(IEnumerable) Checks if this set has any elements in common with another set. (Se hereda de IReadOnlySet.)
Método público Overlaps(IEnumerable<T>) Determines whether this set has any elements in common with another set.
Método público SetEquals(IEnumerable) Checks if this set contains the same and only the same elements as the other. (Se hereda de IReadOnlySet.)
Método público SetEquals(IEnumerable<T>) Determines whether this set contains the same and only the same elements as the other.

Arriba

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Sdk.Sfc