 | MappedDiagnosticsContextContains Method |
Checks whether the specified item exists in current thread MDC.
Namespace: NLogAssembly: NLog (in NLog.dll) Version: 4.3.0
Syntaxpublic static bool Contains(
string item
)
Public Shared Function Contains (
item As String
) As Boolean
Parameters
- item
- Type: SystemString
Item name.
Return Value
Type:
BooleanA boolean indicating whether the specified
item exists in current thread MDC.
See Also