ProfileInfoCollection::SetReadOnly Method ()
.NET Framework (current version)
Makes the contents of the ProfileInfoCollection read-only.
Assembly: System.Web (in System.Web.dll)
The SetReadOnly method marks the ProfileInfoCollection as read-only so that ProfileInfo objects cannot be added to or removed from the collection. After calling the SetReadOnly method, you cannot change the ProfileInfoCollection back to read/write.
.NET Framework
Available since 2.0
Available since 2.0
Show: