StateValueCollectionAdd(String, Object) Method

Add a new state value with the given name and value

Definition

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 7.1.3+4851.c5da65c2b
C#
public void Add(
	string stateName,
	Object stateValue
)

Parameters

stateName  String
The name of the state value
stateValue  Object
The state's value

See Also