 | 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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic 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