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: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
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

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

See Also