Click or drag to resize

RegistryHelperEnumSubkeyByIndex Method

Enumerates a sub-key of the given key specified by index.

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public static string EnumSubkeyByIndex(
	UIntPtr hkey,
	ref uint dwIndex,
	out bool noMoreItemsOut
)

Parameters

hkey
Type: SystemUIntPtr
The predefined or opened registry key (e.g. HKEY_LOCAL_MACHINE).
dwIndex
Type: SystemUInt32
Specifies sub-key index to enumerate. This is incremented here.
noMoreItemsOut
Type: SystemBoolean
Specifies the status of ptszName and the enumeration. - If this is true the caller shouldn't call EnumKeyByIndex anymore and cannot use ptszName.

Return Value

Type: String
Returns the sub-key name.
See Also