Interface IReadOnlySet<T>
Defines properties and methods for the generic immutable sets.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Interface IReadOnlySet(Of T) _
Inherits IReadOnlySet, IReadOnlyCollection(Of T), IReadOnlyCollection, _
IEnumerable(Of T), IEnumerable
'Utilisation
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 ne prend pas en charge les types et les méthodes génériques.
Paramètres de type
- T
The type of the elements in the set.
Le type IReadOnlySet<T> expose les membres suivants.
Propriétés
Nom | Description | |
---|---|---|
Count | Gets the number of items that are contained in the collection. (hérité de IReadOnlyCollection.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Contains | Determines whether the specified item is contained in the collection. (hérité de IReadOnlyCollection<T>.) | |
CopyTo | Copies the elements of the collection to the specified array, starting at a particular array index. (hérité de IReadOnlyCollection<T>.) | |
GetEnumerator | (hérité de IEnumerable<T>.) | |
IsProperSubsetOf(IEnumerable) | Checks if this set is a subset of another set, but differs from it. (hérité de 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. (hérité de 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. (hérité de 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. (hérité de 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. (hérité de 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. (hérité de IReadOnlySet.) | |
SetEquals(IEnumerable<T>) | Determines whether this set contains the same and only the same elements as the other. |
Haut de la page