Bagikan melalui


DataWriter.WriteString(String) Metode

Definisi

Menulis nilai string ke aliran output.

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

Parameter

value
String

Platform::String

winrt::hstring

Nilainya.

Mengembalikan

UInt32

unsigned int

uint32_t

Panjang string, dalam byte.

Penerapan

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

Berlaku untuk