DataWriter.MeasureString(String) DataWriter.MeasureString(String) DataWriter.MeasureString(String) DataWriter.MeasureString(String) DataWriter.MeasureString(String) Method

Definition

Gets the size of a string.

public : unsigned int MeasureString(Platform::String value)
uint32_t MeasureString(winrt::hstring value) const;
public uint MeasureString(String value)
Public Function MeasureString(value As String) As uint
var uint = dataWriter.measureString(value);

Parameters

value
String String String

The string.

Returns

uint uint uint

The size of the string, in bytes.