IReadOnlySet 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
不可变集的接口。
public interface IReadOnlySet : Microsoft.SqlServer.Management.Sdk.Sfc.IReadOnlyCollection, System.Collections.IEnumerable
type IReadOnlySet = interface
interface IReadOnlyCollection
interface IEnumerable
Public Interface IReadOnlySet
Implements IEnumerable, IReadOnlyCollection
- 派生
- 实现
属性
| 名称 | 说明 |
|---|---|
| Count |
获取包含在 |
方法
| 名称 | 说明 |
|---|---|
| IsProperSubsetOf(IEnumerable) |
检查此集是否是其他集的子集,但与该集不同。 |
| IsProperSupersetOf(IEnumerable) |
检查此集是否是另一组的超集,但与该集不同。 |
| IsSubsetOf(IEnumerable) |
检查此集是否是其他集的子集。 |
| IsSupersetOf(IEnumerable) |
检查此集是否是其他超集。 |
| Overlaps(IEnumerable) |
检查此集是否具有与其他元素共有的任何元素。 |
| SetEquals(IEnumerable) |
检查此集是否包含相同且仅包含与其他元素相同的元素。 |