Share via


DefaultOptionExtensions.GetNewLineCharacter(IEditorOptions) Method

Definition

Gets the new line character for the specified editor options.

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ GetNewLineCharacter(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public:
[System::Runtime::CompilerServices::Extension]
 static Platform::String ^ GetNewLineCharacter(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public static string GetNewLineCharacter (this Microsoft.VisualStudio.Text.Editor.IEditorOptions options);
static member GetNewLineCharacter : Microsoft.VisualStudio.Text.Editor.IEditorOptions -> string
<Extension()>
Public Function GetNewLineCharacter (options As IEditorOptions) As String

Parameters

Returns

A string containing the new line character or characters.

Applies to