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.3.623.2
Syntaxpublic static IList<string> EnumSubkeys(
UIntPtr hkey,
RegistryHelperRegistryAccessFlags accessFlags,
string key
)
Public Shared Function EnumSubkeys (
hkey As UIntPtr,
accessFlags As RegistryHelperRegistryAccessFlags,
key As String
) As IList(Of String)
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:
IListStringIList{string} ... Sub-keys.
See Also