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