| GlobalDiagnosticsContextContains Method |
Determines whether the Global Diagnostics Context (GDC) dictionary contains the specified key.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public 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