Интерфейс 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. |
В начало