IReadOnlyCollection<T>-Schnittstelle
Defines properties and methods for the generic type read-only collections.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Interface IReadOnlyCollection(Of T) _
Inherits IReadOnlyCollection, IEnumerable(Of T), IEnumerable
'Usage
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 bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.
Typparameter
- T
The type of the element in the collection.
Der IReadOnlyCollection<T>-Typ macht folgende Elemente verfügbar.
Eigenschaften
Name | Beschreibung | |
---|---|---|
Count | Gets the number of items that are contained in the collection. (Geerbt von IReadOnlyCollection.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
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 | (Geerbt von IEnumerable<T>.) |
Zum Anfang