Click or drag to resize
CollectionBaseTAsReadOnly Method
Provides a read-only view of this collection. The returned ICollection<T> provides a view of the collection that prevents modifications to the collection. Use the method to provide access to the collection without allowing changes. Since the returned object is just a view, changes to the collection will be reflected in the view.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public virtual ICollection<T> AsReadOnly()

Return Value

Type: ICollectionT
An ICollection<T> that provides read-only access to the collection.
See Also