PersonalizationStateInfoCollection::SetReadOnly Method ()
.NET Framework (current version)
Marks the collection as read-only.
Assembly: System.Web (in System.Web.dll)
Methods that attempt to modify a read-only collection, such as Add and Remove, throw a NotSupportedException exception.
Note |
|---|
You can call the SetReadOnly method multiple times on the collection; this will not raise an exception. |
.NET Framework
Available since 2.0
Available since 2.0
Show:
