setReadOnly() method

On Attributed objects supporting this method, permanently disables any operations that would modify the contents of this object.

Syntax

void setReadOnly ()

Exceptions