Partilhar via


DataWriter.WriteString(String) Método

Definição

Grava um valor de cadeia de caracteres no fluxo de saída.

public:
 virtual unsigned int WriteString(Platform::String ^ value) = WriteString;
uint32_t WriteString(winrt::hstring const& value);
public uint WriteString(string value);
function writeString(value)
Public Function WriteString (value As String) As UInteger

Parâmetros

value
String

Platform::String

winrt::hstring

O valor.

Retornos

UInt32

unsigned int

uint32_t

O comprimento da cadeia de caracteres, em bytes.

Implementações

M:Windows.Storage.Streams.IDataWriter.WriteString(System.String) M:Windows.Storage.Streams.IDataWriter.WriteString(Platform::String) M:Windows.Storage.Streams.IDataWriter.WriteString(winrt::hstring)

Aplica-se a