 | GDCGet Method (String, IFormatProvider) |
Gets the Global Diagnostics Context item.
Namespace: NLogAssembly: NLog (in NLog.dll) Version: 4.3.0
Syntaxpublic static string Get(
string item,
IFormatProvider formatProvider
)
Public Shared Function Get (
item As String,
formatProvider As IFormatProvider
) As String
Parameters
- item
- Type: SystemString
Item name. - formatProvider
- Type: SystemIFormatProvider
IFormatProvider to use when converting the item's value to a string.
Return Value
Type:
StringThe value of
item as a string, if defined; otherwise
Empty.
Remarks
See Also