 | ReadOnlyCollectionT Constructor |
Wraps the specified collection with a new read-only collection.
Namespace: Slash.Collections.ObjectModelAssembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntaxpublic ReadOnlyCollection(
ICollection<T> collection
)
Public Sub New (
collection As ICollection(Of T)
)
public:
ReadOnlyCollection(
ICollection<T>^ collection
)
new :
collection : ICollection<'T> -> ReadOnlyCollection
Parameters
- collection
- Type: System.Collections.GenericICollectionT
Collection to wrap.
See Also