RegistryHelperEnumSubkeys Method

Enumerates all sub-keys. If key is missing, return empty vector.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static IList<string> EnumSubkeys(
	UIntPtr hkey,
	RegistryHelperRegistryAccessFlags accessFlags,
	string key
)

Parameters

hkey  UIntPtr
The predefined or opened registry key (e.g. HKEY_LOCAL_MACHINE).
accessFlags  RegistryHelperRegistryAccessFlags
Options for accessing the registry, see enumRegistryAccessFlags.
key  String
Key name relative to hkey (e.g. SOFTWARE\Microsoft\Windows). If NULL, enumerates the sub-keys of hkey.

Return Value

IListString
IList{string} ... Sub-keys.

See Also