Click or drag to resize

ScopeContextTryGetProperty Method

Lookup single property stored within the logical context scopes

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static bool TryGetProperty(
	string key,
	out Object?? value
)

Parameters

key
Type: SystemString
Name of property
value
Type: SystemObject
When this method returns, contains the value associated with the specified key

Return Value

Type: Boolean
Returns when value is found with the specified key
Remarks
Scope dictionary keys are case-insensitive
See Also