 | LayoutIsNullOrEmpty Method |
Indicates whether the specified
layout is null or
Empty.
Namespace:
NLog.Layouts
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic static bool IsNullOrEmpty(
Layout? layout
)
Public Shared Function IsNullOrEmpty (
layout As Layout
) As Boolean
Dim layout As Layout
Dim returnValue As Boolean
returnValue = Layout.IsNullOrEmpty(layout)
static member IsNullOrEmpty :
layout : Layout -> bool
Parameters
- layout
- Type: NLog.LayoutsLayout
The layout instance to test.
Return Value
Type:
Booleantrue if the value parameter is null or
Empty; otherwise, false.
See Also