The LogEntry type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LogEntry()()()() |
Construct an empty LogEntry
| |
LogEntry(IDictionary) |
Construct a LogEntry with the given key-value pairs.
|
Methods
Name | Description | |
---|---|---|
Add |
Adds a key/value pair to this LogEntry object.
| |
AddDouble |
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().
| |
AddInt |
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().
| |
AddList |
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.
| |
AddString |
Set the given key to the given string value.
| |
Clear |
Clears the contents of this LogEntry.
| |
Contains |
Determines whether the LogEntry contains
an element with the specified key.
| |
CopyTo | ||
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetDouble |
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.
| |
GetEnumerator |
Returns an IDictionaryEnumerator
for the LogEntry.
| |
GetHashCode | 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.) | |
GetInt |
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.
| |
GetList |
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.
| |
GetString |
Get the value associated with the given key.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove |
Removes the item with the specified key
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of elements actually contained in the LogEntry.
| |
IsFixedSize |
Gets a value indicating whether the
LogEntry has a fixed size.
| |
IsReadOnly |
Gets a value indicating whether the
LogEntry is read-only.
| |
IsSynchronized |
Gets a value indicating whether access to the LogEntry
is synchronized (thread-safe).
| |
Item |
Gets or sets an element with the specified key.
| |
Keys |
Gets an ICollection containing the
keys of this LogEntry.
| |
SyncRoot |
This operation is not supported.
| |
Values |
Gets an ICollection containing the
values of this LogEntry.
|