ProfileGetSubKeys(DeviceTypes, String) Method

Returns a list of the sub-keys under the profile root.

Definition

Namespace: ASCOM.Com
Assembly: ASCOM.Com (in ASCOM.Com.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static List<string> GetSubKeys(
	DeviceTypes deviceType,
	string progId
)

Parameters

deviceType  DeviceTypes
Device type e.g. Telescope.
progId  String
COM ProgID of the device.

Return Value

ListString
Dictionary of name:value string pairs.

Exceptions

InvalidValueExceptionIf device type, progId or sub-key are null or invalid.

Version Information

.NET Standard

Supported in: 2.0

See Also