OpenNETCF Smart Device Framework 2.3
Gets the newline string defined for this environment.

Namespace:  OpenNETCF
Assembly:  OpenNETCF (in OpenNETCF.dll) Version: 2.3.0.0

Syntax

C#
public static string NewLine { get; }
Visual Basic (Declaration)
Public Shared ReadOnly Property NewLine As String
Visual Basic (Usage)
Dim value As String

value = Environment2.NewLine
Visual C++
public:
static property String^ NewLine {
	String^ get ();
}
J#
/** @property */
public static String get_NewLine()
JScript
public static function get NewLine () : String
JavaScript
OpenNETCF.Environment2.get_NewLine = function();

Field Value

A string containing "\r\n".

Remarks

The property value is a constant customized specifically for the current platform. This value is automatically appended to text when using WriteLine methods, such as Console.WriteLine.

See Also