IndentedTextWriter.Write Metoda

Definicja

Zapisuje określony ciąg w strumieniu tekstowym.

Przeciążenia

Write(String, Object, Object)

Zapisuje sformatowany ciąg przy użyciu tej samej semantyki, co określono.

Write(Char[], Int32, Int32)

Zapisuje podarraj znaków w strumieniu tekstowym.

Write(String, ReadOnlySpan<Object>)

Zapisuje sformatowany ciąg przy użyciu tej samej semantyki, co określono.

Write(String, Object[])

Zapisuje sformatowany ciąg przy użyciu tej samej semantyki, co określono.

Write(String, Object)

Zapisuje sformatowany ciąg przy użyciu tej samej semantyki, co określono.

Write(String)

Zapisuje określony ciąg w strumieniu tekstowym.

Write(Single)

Zapisuje reprezentację tekstu pojedynczego w strumieniu tekstowym.

Write(Boolean)

Zapisuje tekstową reprezentację wartości logicznej w strumieniu tekstowym.

Write(Int64)

Zapisuje reprezentację tekstu liczby całkowitej 8-bajtowej w strumieniu tekstowym.

Write(Int32)

Zapisuje reprezentację tekstu liczby całkowitej w strumieniu tekstowym.

Write(Double)

Zapisuje reprezentację tekstu podwójnej do strumienia tekstowego.

Write(Char[])

Zapisuje tablicę znaków w strumieniu tekstowym.

Write(Char)

Zapisuje znak w strumieniu tekstowym.

Write(Object)

Zapisuje tekstową reprezentację obiektu w strumieniu tekstowym.

Write(String, Object, Object)

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje sformatowany ciąg przy użyciu tej samej semantyki, co określono.

public:
 override void Write(System::String ^ format, System::Object ^ arg0, System::Object ^ arg1);
public override void Write (string format, object? arg0, object? arg1);
public override void Write (string format, object arg0, object arg1);
override this.Write : string * obj * obj -> unit
Public Overrides Sub Write (format As String, arg0 As Object, arg1 As Object)

Parametry

format
String

Ciąg formatowania do użycia.

arg0
Object

Pierwszy obiekt do zapisania w sformatowany ciąg.

arg1
Object

Drugi obiekt do zapisania w sformatowany ciąg.

Dotyczy

Write(Char[], Int32, Int32)

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje podarraj znaków w strumieniu tekstowym.

public:
 override void Write(cli::array <char> ^ buffer, int index, int count);
public override void Write (char[] buffer, int index, int count);
override this.Write : char[] * int * int -> unit
Public Overrides Sub Write (buffer As Char(), index As Integer, count As Integer)

Parametry

buffer
Char[]

Tablica znaków do zapisu danych.

index
Int32

Uruchamianie indeksu w buforze.

count
Int32

Liczba znaków do zapisania.

Dotyczy

Write(String, ReadOnlySpan<Object>)

Zapisuje sformatowany ciąg przy użyciu tej samej semantyki, co określono.

public:
 override void Write(System::String ^ format, ReadOnlySpan<System::Object ^> arg);
public override void Write (string format, scoped ReadOnlySpan<object?> arg);
override this.Write : string * ReadOnlySpan<obj> -> unit
Public Overrides Sub Write (format As String, arg As ReadOnlySpan(Of Object))

Parametry

format
String

Ciąg formatowania do użycia.

arg
ReadOnlySpan<Object>

Argument obejmuje dane wyjściowe.

Dotyczy

Write(String, Object[])

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje sformatowany ciąg przy użyciu tej samej semantyki, co określono.

public:
 override void Write(System::String ^ format, ... cli::array <System::Object ^> ^ arg);
public override void Write (string format, params object?[] arg);
public override void Write (string format, params object[] arg);
override this.Write : string * obj[] -> unit
Public Overrides Sub Write (format As String, ParamArray arg As Object())

Parametry

format
String

Ciąg formatowania do użycia.

arg
Object[]

Tablica argumentów do danych wyjściowych.

Dotyczy

Write(String, Object)

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje sformatowany ciąg przy użyciu tej samej semantyki, co określono.

public:
 override void Write(System::String ^ format, System::Object ^ arg0);
public override void Write (string format, object? arg0);
public override void Write (string format, object arg0);
override this.Write : string * obj -> unit
Public Overrides Sub Write (format As String, arg0 As Object)

Parametry

format
String

Ciąg formatowania.

arg0
Object

Obiekt do zapisania w sformatowany ciąg.

Dotyczy

Write(String)

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje określony ciąg w strumieniu tekstowym.

public:
 override void Write(System::String ^ s);
public override void Write (string? s);
public override void Write (string s);
override this.Write : string -> unit
Public Overrides Sub Write (s As String)

Parametry

s
String

Ciąg do zapisania.

Dotyczy

Write(Single)

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje reprezentację tekstu pojedynczego w strumieniu tekstowym.

public:
 override void Write(float value);
public override void Write (float value);
override this.Write : single -> unit
Public Overrides Sub Write (value As Single)

Parametry

value
Single

single do zapisu.

Dotyczy

Write(Boolean)

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje tekstową reprezentację wartości logicznej w strumieniu tekstowym.

public:
 override void Write(bool value);
public override void Write (bool value);
override this.Write : bool -> unit
Public Overrides Sub Write (value As Boolean)

Parametry

value
Boolean

Wartość logiczna do zapisania.

Dotyczy

Write(Int64)

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje reprezentację tekstu liczby całkowitej 8-bajtowej w strumieniu tekstowym.

public:
 override void Write(long value);
public override void Write (long value);
override this.Write : int64 -> unit
Public Overrides Sub Write (value As Long)

Parametry

value
Int64

Liczba całkowita 8-bajtowa do zapisu.

Dotyczy

Write(Int32)

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje reprezentację tekstu liczby całkowitej w strumieniu tekstowym.

public:
 override void Write(int value);
public override void Write (int value);
override this.Write : int -> unit
Public Overrides Sub Write (value As Integer)

Parametry

value
Int32

Liczba całkowita do zapisania.

Dotyczy

Write(Double)

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje reprezentację tekstu podwójnej do strumienia tekstowego.

public:
 override void Write(double value);
public override void Write (double value);
override this.Write : double -> unit
Public Overrides Sub Write (value As Double)

Parametry

value
Double

double do zapisu.

Dotyczy

Write(Char[])

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje tablicę znaków w strumieniu tekstowym.

public:
 override void Write(cli::array <char> ^ buffer);
public override void Write (char[]? buffer);
public override void Write (char[] buffer);
override this.Write : char[] -> unit
Public Overrides Sub Write (buffer As Char())

Parametry

buffer
Char[]

Tablica znaków do zapisania.

Dotyczy

Write(Char)

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje znak w strumieniu tekstowym.

public:
 override void Write(char value);
public override void Write (char value);
override this.Write : char -> unit
Public Overrides Sub Write (value As Char)

Parametry

value
Char

Znak do zapisania.

Dotyczy

Write(Object)

Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs
Źródło:
IndentedTextWriter.cs

Zapisuje tekstową reprezentację obiektu w strumieniu tekstowym.

public:
 override void Write(System::Object ^ value);
public override void Write (object? value);
public override void Write (object value);
override this.Write : obj -> unit
Public Overrides Sub Write (value As Object)

Parametry

value
Object

Obiekt do zapisu.

Dotyczy