IReadOnlyList<T> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示可由索引访问的强类型对象列表。
public interface IReadOnlyList<T> : Microsoft.SqlServer.Management.Sdk.Sfc.IReadOnlyCollection<T>, System.Collections.Generic.IEnumerable<T>
type IReadOnlyList<'T> = interface
interface IReadOnlyCollection<'T>
interface IReadOnlyCollection
interface IEnumerable
interface seq<'T>
Public Interface IReadOnlyList(Of T)
Implements IEnumerable(Of T), IReadOnlyCollection(Of T)
类型参数
- T
列表中的元素类型。
- 派生
- 实现
属性
| 名称 | 说明 |
|---|---|
| Count |
获取包含在 |
| Item[Int32] |
获取指定索引处的元素。 |
方法
| 名称 | 说明 |
|---|---|
| Contains(T) |
确定集合是否包含特定值。 (继承自 IReadOnlyCollection<T>) |
| CopyTo(T[], Int32) |
从特定数组索引开始,将集合的元素复制到数组。 (继承自 IReadOnlyCollection<T>) |