IEditorOperations.NormalizeLineEndings(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.