| GlobalDiagnosticsContextGetObject Method |
Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public static Object GetObject(
string item
)
Public Shared Function GetObject (
item As String
) As Object
Dim item As String
Dim returnValue As Object
returnValue = GlobalDiagnosticsContext.GetObject(item)
static member GetObject :
item : string -> Object
Parameters
- item
- Type: SystemString
Item name.
Return Value
Type:
ObjectThe item value, if defined; otherwise
null.
See Also