Click or drag to resize

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)
Syntax
public bool GetSettingIsReadOnly(
	string key
)

Parameters

key
Type: SystemString
Key name for which to search.

Return Value

Type: Boolean
Returns true if the setting is read-only otherwise false.
Exceptions
ExceptionCondition
KeyNotFoundException A KeyNotFoundException exception is thrown if the key is not found in the settings dictionary.
Version Information

Rhino for Windows

Supported in: 6.8
See Also