Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DataWriter.WriteString(String) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Writes a string value to the output stream.

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

Parameters

value
String

Platform::String

winrt::hstring

The value.

Returns

UInt32

unsigned int

uint32_t

The length of the string, in bytes.

Implements

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

Applies to


Feedback

Was this page helpful?