IReadOnlySet<T> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
不可变集的接口。
public interface IReadOnlySet<T> : Microsoft.SqlServer.Management.Sdk.Sfc.IReadOnlyCollection<T>, Microsoft.SqlServer.Management.Sdk.Sfc.IReadOnlySet, System.Collections.Generic.IEnumerable<T>
type IReadOnlySet<'T> = interface
interface IReadOnlySet
interface IReadOnlyCollection
interface IEnumerable
interface IReadOnlyCollection<'T>
interface seq<'T>
Public Interface IReadOnlySet(Of T)
Implements IEnumerable(Of T), IReadOnlyCollection(Of T), IReadOnlySet
类型参数
- T
集的元素类型。
- 实现
属性
| 名称 | 说明 |
|---|---|
| Count |
获取包含在 |
方法
| 名称 | 说明 |
|---|---|
| Contains(T) |
确定集合是否包含特定值。 (继承自 IReadOnlyCollection<T>) |
| CopyTo(T[], Int32) |
从特定数组索引开始,将集合的元素复制到数组。 (继承自 IReadOnlyCollection<T>) |
| IsProperSubsetOf(IEnumerable) |
检查此集是否是其他集的子集,但与该集不同。 (继承自 IReadOnlySet) |
| IsProperSubsetOf(IEnumerable<T>) |
检查此集是否是其他集的子集,但与该集不同。 |
| IsProperSupersetOf(IEnumerable) |
检查此集是否是另一组的超集,但与该集不同。 (继承自 IReadOnlySet) |
| IsProperSupersetOf(IEnumerable<T>) |
检查此集是否是另一组的超集,但与该集不同。 |
| IsSubsetOf(IEnumerable) |
检查此集是否是其他集的子集。 (继承自 IReadOnlySet) |
| IsSubsetOf(IEnumerable<T>) |
检查此集是否是其他集的子集。 |
| IsSupersetOf(IEnumerable) |
检查此集是否是其他超集。 (继承自 IReadOnlySet) |
| IsSupersetOf(IEnumerable<T>) |
检查此集是否是其他超集。 |
| Overlaps(IEnumerable) |
检查此集是否具有与其他元素共有的任何元素。 (继承自 IReadOnlySet) |
| Overlaps(IEnumerable<T>) |
检查此集是否具有与其他元素共有的任何元素。 |
| SetEquals(IEnumerable) |
检查此集是否包含相同且仅包含与其他元素相同的元素。 (继承自 IReadOnlySet) |
| SetEquals(IEnumerable<T>) |
检查此集是否包含相同且仅包含与其他元素相同的元素。 |