语言

IReadOnlyCollection<T> 接口

定义

不可变集合的接口。

public interface IReadOnlyCollection<T> : Microsoft.SqlServer.Management.Sdk.Sfc.IReadOnlyCollection, System.Collections.Generic.IEnumerable<T>
type IReadOnlyCollection<'T> = interface
    interface IReadOnlyCollection
    interface IEnumerable
    interface seq<'T>
Public Interface IReadOnlyCollection(Of T)
Implements IEnumerable(Of T), IReadOnlyCollection

类型参数

T

集合的项类型。

派生
实现

属性

名称 说明
Count

获取包含在 中的 项数。

(继承自 IReadOnlyCollection)

方法

名称 说明
Contains(T)

确定集合是否包含特定值。

CopyTo(T[], Int32)

从特定数组索引开始,将集合的元素复制到数组。

适用于