 | GlobalDiagnosticsContextContains Method |
Determines whether the Global Diagnostics Context (GDC) dictionary contains the specified key.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic static bool Contains(
string item
)
Public Shared Function Contains (
item As String
) As Boolean
Dim item As String
Dim returnValue As Boolean
returnValue = GlobalDiagnosticsContext.Contains(item)
static member Contains :
item : string -> bool
Parameters
- item
- Type: SystemString
Item name.
Return Value
Type:
BooleanA boolean indicating whether the specified item exists in current thread GDC.
See Also