MCPcopy Create free account
hub / github.com/PowerShell/DSC / subkeys

Method subkeys

archive/ntreg/src/registry_key.rs:83–88  ·  view source on GitHub ↗

Returns an iterator over the sub keys of the current key. # Examples ``` # use ntreg::registry_key::*; let key = RegistryKey::new(r"HKCU\Software").unwrap(); for sub_key in key.subkeys() { println!("{}", sub_key.name); } ```

(self)

Source from the content-addressed store, hash-verified

81 /// }
82 /// ```
83 pub fn subkeys(self) -> RegistrySubkeys {
84 RegistrySubkeys {
85 key: self,
86 index: 0,
87 }
88 }
89
90 /// Returns an iterator over the values of the current key.
91 ///

Callers 2

deleteMethod · 0.80

Calls

no outgoing calls

Tested by 1