Click or drag to resize

ScopeContextTryGetProperty Method

Lookup single property stored within the logical context scopes

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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 true when value is found with the specified key
Remarks
Scope dictionary keys are case-insensitive
See Also