StateValue Class

Class to hold a state name:value pair.

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
C#
public class StateValue : IStateValue
Inheritance
Object    StateValue
Implements
IStateValue

Constructors

StateValue Create a new state value object
StateValue(DateTime) Create a StateValue object whose Name property is "TimeStamp" and whose Value property is the supplied date-time value.
StateValue(String, Object) Create a new state value object with the given name and value

Properties

Name State name
Value State value

Version Information

Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10

See Also