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

收藏的項目類型。

衍生
實作

屬性

名稱 Description
Count

得到 中所包含 IReadOnlyCollection的項目數量。

(繼承來源 IReadOnlyCollection)

方法

名稱 Description
Contains(T)

判斷集合是否包含特定值。

CopyTo(T[], Int32)

從特定陣列索引開始,將集合的專案複製到陣列。

適用於