Changes the PageReference into a read-only object.Namespace: EPiServer.Core
Assembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
public void MakeReadOnly()
After calling this method, any attempt to modify this instance or any contained object will generate a NotSupportedException. I e the semantics is "deep read-only".
Note! After setting an object to read-only it is not possible to revert back to read-write mode. You will have to call the CreateWritableClone method to get a copy that can be modified.