 | RegGetStringValue method |
Returns the value of a single parameter (Regedit right).
Only applicable for string parameters!
Namespace: NetEti.ApplicationEnvironmentAssembly: NetEti.RegAccess (in NetEti.RegAccess.dll) Version: 1.0.0+3058b4495e47cf04ccc2758883ed79dc29ef784f
Syntaxpublic string? GetStringValue(
string key,
string? defaultValue
)
Public Function GetStringValue (
key As String,
defaultValue As String
) As String
public:
virtual String^ GetStringValue(
String^ key,
String^ defaultValue
) sealed
abstract GetStringValue :
key : string *
defaultValue : string -> string
override GetStringValue :
key : string *
defaultValue : string -> string
Parameters
- key String
-
Path to the parameter whose value (Regedit right-hand side) is being searched for
based on the currently set RegistryRoot and RegistryBasePath.
- defaultValue String
- Returned if no matching entry was found.
Return value
StringString value of the key (registry on the right)
Implemented
IGetStringValueGetStringValue(String, String)
See also