 | MappedDiagnosticsContextGetObject Method |
Gets the current thread MDC named item, as
Object.
Namespace: NLogAssembly: NLog (in NLog.dll) Version: 4.3.0
Syntaxpublic static Object GetObject(
string item
)
Public Shared Function GetObject (
item As String
) As Object
Parameters
- item
- Type: SystemString
Item name.
Return Value
Type:
ObjectThe value of
item, if defined; otherwise
null.
See Also