Click or drag to resize

RegistryHelperEnumSubkeys Method

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

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

Parameters

hkey
Type: SystemUIntPtr
The predefined or opened registry key (e.g. HKEY_LOCAL_MACHINE).
accessFlags
Type: MFiles.VAF.CommonRegistryHelperRegistryAccessFlags
Options for accessing the registry, see enumRegistryAccessFlags.
key
Type: SystemString
Key name relative to hkey (e.g. SOFTWARE\Microsoft\Windows). If NULL, enumerates the sub-keys of hkey.

Return Value

Type: IListString
IList{string} ... Sub-keys.
See Also