Share via


IEditorOperations.NormalizeLineEndings, méthode

Remplace toutes les fins de ligne qui ne correspondent à pas la chaîne spécifiée.

Espace de noms :  Microsoft.VisualStudio.Text.Operations
Assembly :  Microsoft.VisualStudio.Text.UI (dans Microsoft.VisualStudio.Text.UI.dll)

Syntaxe

'Déclaration
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

Paramètres

  • replacement
    Type : String

    La séquence de caractères avec laquelle pour remplacer les fins de ligne.

Valeur de retour

Type : Boolean
true si la modification a réussi ; sinon false.

Sécurité .NET Framework

Voir aussi

Référence

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations, espace de noms