IndentedTextWriter.WriteLine Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Écrit la chaîne spécifiée, suivie d'un terminateur de ligne, dans le flux de texte.
Surcharges
WriteLine(String, Object, Object) |
Écrit une chaîne mise en forme, suivie d'un terminateur de ligne, avec les sémantiques spécifiées. |
WriteLine(Char[], Int32, Int32) |
Écrit un sous-tableau de caractères, suivi d'un terminateur de ligne, dans le flux de texte. |
WriteLine(String, ReadOnlySpan<Object>) | |
WriteLine(String, Object[]) |
Écrit une chaîne mise en forme, suivie d'un terminateur de ligne, avec les sémantiques spécifiées. |
WriteLine(String, Object) |
Écrit une chaîne mise en forme, suivie d'un terminateur de ligne, avec les sémantiques spécifiées. |
WriteLine(String) |
Écrit la chaîne spécifiée, suivie d'un terminateur de ligne, dans le flux de texte. |
WriteLine(Single) |
Écrit dans le flux de texte la représentation textuelle d'une valeur Single, suivie d'un terminateur de ligne. |
WriteLine(UInt32) |
Écrit dans le flux de texte la représentation textuelle d'une valeur UInt32, suivie d'un terminateur de ligne. |
WriteLine(Int64) |
Écrit dans le flux de texte la représentation textuelle d'un entier 8 octets, suivie d'un terminateur de ligne. |
WriteLine(Int32) |
Écrit dans le flux de texte la représentation textuelle d'un entier, suivie d'un terminateur de ligne. |
WriteLine(Double) |
Écrit dans le flux de texte la représentation textuelle d'une valeur Double, suivie d'un terminateur de ligne. |
WriteLine(Char[]) |
Écrit un tableau de caractères, suivi d'un terminateur de ligne, dans le flux de texte. |
WriteLine(Char) |
Écrit un caractère, suivi d'un terminateur de ligne, dans le flux de texte. |
WriteLine(Boolean) |
Écrit dans le flux de texte la représentation textuelle d'une valeur booléenne, suivie d'un terminateur de ligne. |
WriteLine() |
Écrit un terminateur de ligne. |
WriteLine(Object) |
Écrit dans le flux de texte la représentation textuelle d'un objet, suivie d'un terminateur de ligne. |
WriteLine(String, Object, Object)
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit une chaîne mise en forme, suivie d'un terminateur de ligne, avec les sémantiques spécifiées.
public:
override void WriteLine(System::String ^ format, System::Object ^ arg0, System::Object ^ arg1);
public override void WriteLine (string format, object? arg0, object? arg1);
public override void WriteLine (string format, object arg0, object arg1);
override this.WriteLine : string * obj * obj -> unit
Public Overrides Sub WriteLine (format As String, arg0 As Object, arg1 As Object)
Paramètres
- format
- String
Chaîne de mise en forme à utiliser.
- arg0
- Object
Premier objet à écrire dans la chaîne mise en forme.
- arg1
- Object
Deuxième objet à écrire dans la chaîne mise en forme.
S’applique à
WriteLine(Char[], Int32, Int32)
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit un sous-tableau de caractères, suivi d'un terminateur de ligne, dans le flux de texte.
public:
override void WriteLine(cli::array <char> ^ buffer, int index, int count);
public override void WriteLine (char[] buffer, int index, int count);
override this.WriteLine : char[] * int * int -> unit
Public Overrides Sub WriteLine (buffer As Char(), index As Integer, count As Integer)
Paramètres
- buffer
- Char[]
Tableau de caractères à partir duquel les données doivent être écrites.
- index
- Int32
Index de début dans la mémoire tampon.
- count
- Int32
Nombre de caractères à écrire.
S’applique à
WriteLine(String, ReadOnlySpan<Object>)
public:
override void WriteLine(System::String ^ format, ReadOnlySpan<System::Object ^> arg);
public override void WriteLine (string format, scoped ReadOnlySpan<object?> arg);
override this.WriteLine : string * ReadOnlySpan<obj> -> unit
Public Overrides Sub WriteLine (format As String, arg As ReadOnlySpan(Of Object))
Paramètres
- format
- String
- arg
- ReadOnlySpan<Object>
S’applique à
WriteLine(String, Object[])
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit une chaîne mise en forme, suivie d'un terminateur de ligne, avec les sémantiques spécifiées.
public:
override void WriteLine(System::String ^ format, ... cli::array <System::Object ^> ^ arg);
public override void WriteLine (string format, params object?[] arg);
public override void WriteLine (string format, params object[] arg);
override this.WriteLine : string * obj[] -> unit
Public Overrides Sub WriteLine (format As String, ParamArray arg As Object())
Paramètres
- format
- String
Chaîne de mise en forme à utiliser.
- arg
- Object[]
Tableau d'arguments à utiliser en sortie.
S’applique à
WriteLine(String, Object)
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit une chaîne mise en forme, suivie d'un terminateur de ligne, avec les sémantiques spécifiées.
public:
override void WriteLine(System::String ^ format, System::Object ^ arg0);
public override void WriteLine (string format, object? arg0);
public override void WriteLine (string format, object arg0);
override this.WriteLine : string * obj -> unit
Public Overrides Sub WriteLine (format As String, arg0 As Object)
Paramètres
- format
- String
Chaîne de mise en forme.
- arg0
- Object
Objet à écrire dans la chaîne mise en forme.
S’applique à
WriteLine(String)
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit la chaîne spécifiée, suivie d'un terminateur de ligne, dans le flux de texte.
public:
override void WriteLine(System::String ^ s);
public override void WriteLine (string? s);
public override void WriteLine (string s);
override this.WriteLine : string -> unit
Public Overrides Sub WriteLine (s As String)
Paramètres
- s
- String
Chaîne à écrire.
S’applique à
WriteLine(Single)
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit dans le flux de texte la représentation textuelle d'une valeur Single, suivie d'un terminateur de ligne.
public:
override void WriteLine(float value);
public override void WriteLine (float value);
override this.WriteLine : single -> unit
Public Overrides Sub WriteLine (value As Single)
Paramètres
- value
- Single
single
à écrire.
S’applique à
WriteLine(UInt32)
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Important
Cette API n’est pas conforme CLS.
Écrit dans le flux de texte la représentation textuelle d'une valeur UInt32, suivie d'un terminateur de ligne.
public:
override void WriteLine(System::UInt32 value);
[System.CLSCompliant(false)]
public override void WriteLine (uint value);
[<System.CLSCompliant(false)>]
override this.WriteLine : uint32 -> unit
Public Overrides Sub WriteLine (value As UInteger)
Paramètres
- value
- UInt32
UInt32 à exporter.
- Attributs
S’applique à
WriteLine(Int64)
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit dans le flux de texte la représentation textuelle d'un entier 8 octets, suivie d'un terminateur de ligne.
public:
override void WriteLine(long value);
public override void WriteLine (long value);
override this.WriteLine : int64 -> unit
Public Overrides Sub WriteLine (value As Long)
Paramètres
- value
- Int64
Entier 8 octets à écrire.
S’applique à
WriteLine(Int32)
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit dans le flux de texte la représentation textuelle d'un entier, suivie d'un terminateur de ligne.
public:
override void WriteLine(int value);
public override void WriteLine (int value);
override this.WriteLine : int -> unit
Public Overrides Sub WriteLine (value As Integer)
Paramètres
- value
- Int32
Entier à écrire.
S’applique à
WriteLine(Double)
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit dans le flux de texte la représentation textuelle d'une valeur Double, suivie d'un terminateur de ligne.
public:
override void WriteLine(double value);
public override void WriteLine (double value);
override this.WriteLine : double -> unit
Public Overrides Sub WriteLine (value As Double)
Paramètres
- value
- Double
double
à écrire.
S’applique à
WriteLine(Char[])
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit un tableau de caractères, suivi d'un terminateur de ligne, dans le flux de texte.
public:
override void WriteLine(cli::array <char> ^ buffer);
public override void WriteLine (char[]? buffer);
public override void WriteLine (char[] buffer);
override this.WriteLine : char[] -> unit
Public Overrides Sub WriteLine (buffer As Char())
Paramètres
- buffer
- Char[]
Tableau de caractères à écrire.
S’applique à
WriteLine(Char)
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit un caractère, suivi d'un terminateur de ligne, dans le flux de texte.
public:
override void WriteLine(char value);
public override void WriteLine (char value);
override this.WriteLine : char -> unit
Public Overrides Sub WriteLine (value As Char)
Paramètres
- value
- Char
Caractère à écrire.
S’applique à
WriteLine(Boolean)
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit dans le flux de texte la représentation textuelle d'une valeur booléenne, suivie d'un terminateur de ligne.
public:
override void WriteLine(bool value);
public override void WriteLine (bool value);
override this.WriteLine : bool -> unit
Public Overrides Sub WriteLine (value As Boolean)
Paramètres
- value
- Boolean
Valeur booléenne à écrire.
S’applique à
WriteLine()
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit un terminateur de ligne.
public:
override void WriteLine();
public override void WriteLine ();
override this.WriteLine : unit -> unit
Public Overrides Sub WriteLine ()
S’applique à
WriteLine(Object)
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
- Source:
- IndentedTextWriter.cs
Écrit dans le flux de texte la représentation textuelle d'un objet, suivie d'un terminateur de ligne.
public:
override void WriteLine(System::Object ^ value);
public override void WriteLine (object? value);
public override void WriteLine (object value);
override this.WriteLine : obj -> unit
Public Overrides Sub WriteLine (value As Object)
Paramètres
- value
- Object
Objet à écrire.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour