共用方式為


DefaultOptionExtensions.GetInsertFinalNewLine(IEditorOptions) Method

Definition

Determines whether to insert final newline.

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

Parameters

Returns

true if a final new line should be inserted, otherwise false.

Applies to