Get the value associated with the given key. If the value
was originally set via setInt() or setString(), then this method
will still succeed as long as the value is a valid decimal number.
Namespace: Endeca.LoggingAssembly: Endeca.Logging (in Endeca.Logging.dll) Version: 6.1.3.0
Syntax
C# |
---|
public double GetDouble( string key ) |
Visual Basic |
---|
Public Function GetDouble ( _ key As String _ ) As Double |
Visual C++ |
---|
public: double GetDouble( String^ key ) |
Parameters
- key
- Type: System..::..String
The String to use as the key of the element to get.
Return Value
Returns the value associated with the given key.Exceptions
Exception | Condition |
---|---|
System..::..FormatException | If the value is not numeric. |
System..::..NullReferenceException | if no value is associated with the given key |