IDataWriter.MeasureString(String) Method

Definition

Gets the size of a string.

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

Parameters

value
String

Platform::String

winrt::hstring

The string.

Returns

UInt32

unsigned int

uint32_t

The size of the string, in bytes.

Applies to