Click or drag to resize
Profile Methods

The Profile type exposes the following members.

Methods
  Name Description
Public method CreateSubKey
Create a registry key for the given DriverID.
Public method DeleteSubKey
Delete a registry key for the given DriverID. SubKey may contain \ separated path to key to be deleted.
Public method DeleteValue(String, String)
Delete the value from the registry. Name may be an empty string for the unnamed value.
Public method DeleteValue(String, String, String)
Delete the value from the registry. Name may be an empty string for the unnamed value. Value will be deleted from the subkey supplied.
Public method Dispose
Disposes of resources used by the profile object
Public method GetProfile
Read an entire device profile and return it as an ASCOMProfile class instance
Public method GetProfileXML
Read an entire device profile and return it as an XML encoded string
Public method GetValue(String, String)
Retrieve a string value from the profile for the given Driver ID and variable name
Public method GetValue(String, String, String)
Retrieve a string value from the profile using the supplied subkey for the given Driver ID and variable name.
Public method GetValue(String, String, String, String)
Retrieve a string value from the profile using the supplied subkey for the given Driver ID and variable name. Set and return the default value if the requested variable name has not yet been set.
Public method IsRegistered
Confirms whether a specific driver is registered ort unregistered in the profile store
Public method Register
Registers a supplied DriverID and associates a descriptive name with the device
Public method RegisteredDevices
List the devices of a given device type that are registered in the Profile store
Public method SetProfile
Set an entire device profile from an ASCOMProfile class instance
Public method SetProfileXML
Set an entire device profile from an XML encoded string
Public method SubKeys(String)
Return a list of the sub-keys under the root of the given DriverID
Public method SubKeys(String, String)
Return a list of the sub-keys under the given DriverID
Public method Unregister
Remove all data for the given DriverID from the registry.
Public method Values(String)
Return a list of the (unnamed and named variables) under the root of the given DriverID.
Public method Values(String, String)
Return a list of the (unnamed and named variables) under the given DriverID and subkey.
Public method WriteValue(String, String, String)
Writes a string value to the profile using the given Driver ID and variable name.
Public method WriteValue(String, String, String, String)
Writes a string value to the profile using the supplied subkey for the given Driver ID and variable name.
Top
See Also