Interfaccia IReadOnlyCollection<T>
Defines properties and methods for the generic type read-only collections.
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Public Interface IReadOnlyCollection(Of T) _
Inherits IReadOnlyCollection, IEnumerable(Of T), IEnumerable
'Utilizzo
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 non supporta i metodi e i tipi generici.
Parametri di tipo
- T
The type of the element in the collection.
Nel tipo IReadOnlyCollection<T> sono esposti i membri seguenti.
Proprietà
Nome | Descrizione | |
---|---|---|
Count | Gets the number of items that are contained in the collection. Ereditato da IReadOnlyCollection. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
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 | Ereditato da IEnumerable<T>. |
In alto