Partager via


IEditorOperations.NormalizeLineEndings(String) Method

Definition

Replaces all line endings that do not match replacement with replacement.

public:
 bool NormalizeLineEndings(System::String ^ replacement);
public:
 bool NormalizeLineEndings(Platform::String ^ replacement);
bool NormalizeLineEndings(std::wstring const & replacement);
public bool NormalizeLineEndings (string replacement);
abstract member NormalizeLineEndings : string -> bool
Public Function NormalizeLineEndings (replacement As String) As Boolean

Parameters

replacement
String

The character sequence that all line endings will match.

Returns

true if the edit succeeded, otherwise false.

Applies to