ListBaseTAsReadOnly Method |
Provides a read-only view of this list. The returned IList<T> provides
a view of the list that prevents modifications to the list. Use the method to provide
access to the list without allowing changes. Since the returned object is just a view,
changes to the list will be reflected in the view.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic virtual IList<T> AsReadOnly()
public:
virtual IList<T>^ AsReadOnly()
Return Value
Type:
IListTAn IList<T> that provides read-only access to the list.
See Also