 | SimpleLayout Conversion (String to SimpleLayout) |
Implicitly converts the specified string as LayoutRenderer-expression into a
SimpleLayout.
Namespace:
NLog.Layouts
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic static implicit operator SimpleLayout? (
string text
)
Public Shared Widening Operator CType (
text As String
) As SimpleLayout
Dim input As String
Dim output As SimpleLayout
output = CType(input, SimpleLayout)
F# does not support the declaration of new casting operators.
Parameters
- text
- Type: SystemString
Text to be converted.
Return Value
Type:
SimpleLayoutA
SimpleLayout object.
See Also