IEditorOperations::NormalizeLineEndings Method (String^)

 

Replaces all the line endings that do not match the specified string.

Namespace:   Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

bool NormalizeLineEndings(
	String^ replacement
)

Parameters

replacement
Type: System::String^

The character sequence with which to replace the line endings.

Return Value

Type: System::Boolean

true if the edit succeeded, otherwise false.

Return to top
Show: