Visual Basic (Declaration) | |
---|---|
Public Overloads MustOverride Function Value( _ ByVal key As String, _ ByVal defaultValue As Boolean _ ) As Boolean |
C# | |
---|---|
public abstract bool Value( string key, bool defaultValue ) |
C++/CLI | |
---|---|
public: abstract bool Value( String^ key, bool defaultValue ) |
Parameters
- key
- The key.
- defaultValue
- The returned value if the key is not found or the value cannot be converted to a boolean.
Return Value
The boolean value.See Item for more information about keys.
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)