Поделиться через


Интерфейс IReadOnlySet<T>

Defines properties and methods for the generic immutable sets.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
Public Interface IReadOnlySet(Of T) _
    Inherits IReadOnlySet, IReadOnlyCollection(Of T), IReadOnlyCollection,  _
    IEnumerable(Of T), IEnumerable
'Применение
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 не поддерживает стандартные типы и методы.

Параметры типа

  • T
    The type of the elements in the set.

Тип IReadOnlySet<T> обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство Count Gets the number of items that are contained in the collection. (Производный от IReadOnlyCollection.)

В начало

Методы

  Имя Описание
Открытый метод Contains Determines whether the specified item is contained in the collection. (Производный от IReadOnlyCollection<T>.)
Открытый метод CopyTo Copies the elements of the collection to the specified array, starting at a particular array index. (Производный от IReadOnlyCollection<T>.)
Открытый метод GetEnumerator (Производный от IEnumerable<T>.)
Открытый метод IsProperSubsetOf(IEnumerable) Checks if this set is a subset of another set, but differs from it. (Производный от IReadOnlySet.)
Открытый метод IsProperSubsetOf(IEnumerable<T>) Determines whether this set is a subset of another set, but differs from it.
Открытый метод IsProperSupersetOf(IEnumerable) Checks if this set is a superset of another set, but differs from it. (Производный от IReadOnlySet.)
Открытый метод IsProperSupersetOf(IEnumerable<T>) Determines whether this set is a superset of another set, but differs from it.
Открытый метод IsSubsetOf(IEnumerable) Checks if this set is a subset of another set. (Производный от IReadOnlySet.)
Открытый метод IsSubsetOf(IEnumerable<T>) Determines whether this set is a subset of another set.
Открытый метод IsSupersetOf(IEnumerable) Checks if this set is a superset of another set. (Производный от IReadOnlySet.)
Открытый метод IsSupersetOf(IEnumerable<T>) Determines whether this set is a superset of another set.
Открытый метод Overlaps(IEnumerable) Checks if this set has any elements in common with another set. (Производный от IReadOnlySet.)
Открытый метод Overlaps(IEnumerable<T>) Determines whether this set has any elements in common with another set.
Открытый метод SetEquals(IEnumerable) Checks if this set contains the same and only the same elements as the other. (Производный от IReadOnlySet.)
Открытый метод SetEquals(IEnumerable<T>) Determines whether this set contains the same and only the same elements as the other.

В начало

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Sdk.Sfc