RhinoCommon API
PersistentSettingsGetSettingIsReadOnly Method |
Values read from all users settings files will be marked as read-only
which will cause any future calls to Set... to fail.
Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool GetSettingIsReadOnly( string key )
Public Function GetSettingIsReadOnly ( key As String ) As Boolean
Parameters
- key
- Type: SystemString
Key name for which to search.
Return Value
Type: BooleanReturns true if the setting is read-only otherwise false.

Exception | Condition |
---|---|
KeyNotFoundException | A KeyNotFoundException exception is thrown if the key is not found in the settings dictionary. |

Rhino for Windows
Supported in: 6.8