Profile.SubKeys() Method

Return a list of the sub-keys under the given sub-key.

Syntax

Profile.SubKeys([SubKey])

The method syntax has these parts:

Part Description
SubKey (String) base sub-key under which to list sub-sub-keys (see remarks)
Return (Object) Dictionary object containing key-name/class-name pairs (see remarks)

Remarks

SubKey may contain backslash separated path to sub-key.

The returned Dictionary object contains a collection of name-value pairs. The indexable names are the sub-key names, and the corresponding values are the unnamed ("class") values under the sub-key. Entries in the Dictionary may be accessed by name or enumerated like a collection. See the Visual Basic documentation on the Dictionary object.

Before using this method, be sure you understand relative versus absolute SubKey values. See the Profile Object documentation for details.