The LogEntry type exposes the following members.

Constructors

  NameDescription
Public methodLogEntry()()()()
Construct an empty LogEntry
Public methodLogEntry(IDictionary)
Construct a LogEntry with the given key-value pairs.

Methods

  NameDescription
Public methodAdd
Adds a key/value pair to this LogEntry object.
Public methodAddDouble
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().
Public methodAddInt
Set the given key to the given integer value. The number will be stored as a String in decimal representation. Therefore, you can retrieve the value later by calling either by getInt(), getDouble(), or getString().
Public methodAddList
Set the given key to the list value. Note that the values in the list will all be converted to strings, so getList will return a list of Strings.
Public methodAddString
Set the given key to the given string value.
Public methodClear
Clears the contents of this LogEntry.
Public methodContains
Determines whether the LogEntry contains an element with the specified key.
Public methodCopyTo
Copies the entire LogEntry to a compatible one-dimensional Array, starting at the specified index of the target array.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDouble
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.
Public methodGetEnumerator
Returns an IDictionaryEnumerator for the LogEntry.
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetInt
Get the integer value associated with the given key. If the value was originally set via setString(), then this method will still succeed as long as the value is a valid decimal integer.
Public methodGetList
Get the given list value associated with a given key. If the value was not originally set using setList, this method will return a list with a single item containing the string representation of the original value. Any changes made to the IList object after calling getList will not be reflected in the LogEntry's value. In order to change the value of the list contents, setList() must be used.
Public methodGetString
Get the value associated with the given key.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the item with the specified key
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCount
Gets the number of elements actually contained in the LogEntry.
Public propertyIsFixedSize
Gets a value indicating whether the LogEntry has a fixed size.
Public propertyIsReadOnly
Gets a value indicating whether the LogEntry is read-only.
Public propertyIsSynchronized
Gets a value indicating whether access to the LogEntry is synchronized (thread-safe).
Public propertyItem
Gets or sets an element with the specified key.
Public propertyKeys
Gets an ICollection containing the keys of this LogEntry.
Public propertySyncRoot
This operation is not supported.
Public propertyValues
Gets an ICollection containing the values of this LogEntry.

See Also