IEditorOperations.NormalizeLineEndings Method
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)
Syntax
‘선언
Function NormalizeLineEndings ( _
replacement As String _
) As Boolean
bool NormalizeLineEndings(
string replacement
)
bool NormalizeLineEndings(
String^ replacement
)
abstract NormalizeLineEndings :
replacement:string -> bool
function NormalizeLineEndings(
replacement : String
) : boolean
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.