Udostępnij za pośrednictwem


IDataWriter.WriteString(String) Method

Definition

Writes a string value to the output stream.

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

Parameters

value
String

Platform::String

winrt::hstring

The value to write.

Returns

UInt32

unsigned int

uint32_t

The length of the string.

Applies to