[This is preliminary documentation and is subject to change.]
Represents simple type-safe interface for read-only collection
Namespace: Tools.CollectionsT.GenericTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public interface IReadOnlyCollection<T> : IEnumerable<T>
|
| Visual Basic |
|---|
Public Interface IReadOnlyCollection(Of T) _
Inherits IEnumerable(Of T) |
| Visual C++ |
|---|
generic<typename T>
public interface class IReadOnlyCollection : IEnumerable<T> |
| F# |
|---|
type IReadOnlyCollection<'T> =
interface
interface IEnumerable<'T>
end |
| JScript |
|---|
JScript does not support generic types or methods. |
Type Parameters
- T
- Type of items in collections
See Also