Set the given key to the given double value. The number will
be stored as a String in decimal representation.
Therefore, you can retrieve the value later by calling either
by getDouble() or getString().
Namespace: Endeca.LoggingAssembly: Endeca.Logging (in Endeca.Logging.dll) Version: 6.1.3.0
Syntax
C# |
---|
public void AddDouble( string key, double value ) |
Visual Basic |
---|
Public Sub AddDouble ( _ key As String, _ value As Double _ ) |
Visual C++ |
---|
public: void AddDouble( String^ key, double value ) |
Parameters
- key
- Type: System..::..String
The String to use as the key of the element to set.
- value
- Type: System..::..Double
The int to use as the value of the element to add.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | An element with the same key already exists |