| LineEndingModeFromString Method |
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public 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