Defines properties and methods for the generic type read-only collections.
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Interface IReadOnlyCollection(Of T) _
Inherits IReadOnlyCollection, IEnumerable(Of T), IEnumerable
'用途
Dim instance As IReadOnlyCollection(Of T)
public interface IReadOnlyCollection<T> : IReadOnlyCollection,
IEnumerable<T>, IEnumerable
generic<typename T>
public interface class IReadOnlyCollection : IReadOnlyCollection,
IEnumerable<T>, IEnumerable
type IReadOnlyCollection<'T> =
interface
interface IReadOnlyCollection
interface IEnumerable<'T>
interface IEnumerable
end
JScript 不支援一般類型和方法。
型別參數
- T
The type of the element in the collection.
IReadOnlyCollection<T> 型別公開下列成員。
屬性
| 名稱 | 說明 | |
|---|---|---|
![]() |
Count | Gets the number of items that are contained in the collection. (繼承自 IReadOnlyCollection。) |
上層
方法
| 名稱 | 說明 | |
|---|---|---|
![]() |
Contains | Determines whether the specified item is contained in the collection. |
![]() |
CopyTo | Copies the elements of the collection to the specified array, starting at a particular array index. |
![]() |
GetEnumerator | (繼承自 IEnumerable<T>。) |
上層
.gif)
.gif)