ASCOMProfile Class

Class that represents a whole device Profile and which contains a set of methods for for manipulating its contents

Definition

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
C#
public class ASCOMProfile : IXmlSerializable
Inheritance
Object    ASCOMProfile
Implements
IXmlSerializable

Remarks

This class is used by the Profile.GetProfile and Profile.SetProfile methods, do not confuse it with the Profile Class itself.

Constructors

ASCOMProfile Create an ASCOM Profile class

Properties

ProfileValues Get the collection of values in this profile

Methods

AddSubkey Add a new sub-key
Clear Clears all contents
GetValue(String) Retrieve a registry value from the driver top level sub-key
GetValue(String, String) Retrieve a registry value
RemoveSubKey Removes a complete sub-key
RemoveValue(String) Remove a value from the driver top level sub-key
RemoveValue(String, String) Remove a value
SetValue(String, String) Set a value in the driver top level sub-key
SetValue(String, String, String) Set a value

See Also