Set the given key to the given string value.

Namespace: Endeca.Logging
Assembly: Endeca.Logging (in Endeca.Logging.dll) Version: 6.1.3.0

Syntax

C#
public void AddString(
	string key,
	string value
)
Visual Basic
Public Sub AddString ( _
	key As String, _
	value As String _
)
Visual C++
public:
void AddString(
	String^ key, 
	String^ value
)

Parameters

key
Type: System..::..String
The String to use as the key of the element to add.
value
Type: System..::..String
The String to use as the value of the element to add.

Exceptions

ExceptionCondition
System..::..ArgumentException An element with the same key already exists

See Also