KeyValuePair Class

Class that returns a key and associated value

Definition

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

Remarks

This class is used by some Profile properties and methods and compensates for the inability of .NET to return Generic classes to COM clients.

The properties and methods are: Profile.RegisteredDevices, Profile.SubKeys and Profile.Values.

Constructors

KeyValuePair COM visible default constructor
KeyValuePair(String, String) Constructor that can set the key and value simultaneously.

Properties

Key The Key element of a key value pair
Value The Value element of a key value pair.

See Also