 | SimpleLayout Conversion (String to SimpleLayout) |
Converts a text to a simple layout.
Namespace:
NLog.Layouts
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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