Click or drag to resize

GH_SettingsServer Class

A single instance of this class is maintained at module level under the accessor "Settings".
Inheritance Hierarchy
SystemObject
  Grasshopper.KernelGH_SettingsServer

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public sealed class GH_SettingsServer : GH_ISerializable

The GH_SettingsServer type exposes the following members.

Constructors
  NameDescription
Public methodGH_SettingsServer(String)
Create a new instance of the GH_SettingsServer class. The server will be associated with a settings xml file in the %ApplicationData%\Grasshopper\ directory. If a file with the same name already exists, its settings will be automatically loaded.
Public methodGH_SettingsServer(String, Boolean)
Create a new instance of the GH_SettingsServer class. The server will be associated with a settings xml file in the %ApplicationData%\Grasshopper\ directory.
Top
Properties
  NameDescription
Public propertyCount
Gets the total number of settings stored in this database.
Public propertyDatabaseName
Gets the name of this settings database.
Top
Methods
See Also