log4net SDK Reference |

# MDC Methods

The methods of the MDC class are listed below. For a complete list of MDC class members, see the MDC Members topic.

#### Public Static (Shared) Methods

Clear | Clear all entries in the MDC
Get | Gets the context value identified by the key parameter.
Remove | Removes the key value mapping for the key specified.
Set | Add an entry to the MDC

#### Public Instance Methods

Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) | Gets the Type of the current instance.
ToString (inherited from Object) | Returns a String that represents the current Object.

#### See Also

MDC Class | log4net Namespace