 | LineEndingModeFromString Method |
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic static LineEndingMode FromString(
string name
)
Public Shared Function FromString (
name As String
) As LineEndingMode
Dim name As String
Dim returnValue As LineEndingMode
returnValue = LineEndingMode.FromString(name)
static member FromString :
name : string -> LineEndingMode
Parameters
- name
- Type: SystemString
The textual representation of the line ending mode, such as CRLF, LF, Default etc.
Name is not case sensitive.
Return Value
Type:
LineEndingModeThe
LineEndingMode value, that corresponds to the
name.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | There is no line ending mode with the specified name. |
See Also