Makes the contents of the System.Web.Profile.ProfileInfoCollection read-only.
The ProfileInfoCollection.SetReadOnly method marks the System.Web.Profile.ProfileInfoCollection as read-only so that System.Web.Profile.ProfileInfo objects cannot be added to or removed from the collection. After calling the ProfileInfoCollection.SetReadOnly method, you cannot change the System.Web.Profile.ProfileInfoCollection back to read/write.