Compartir a través de


DataWriter.MeasureString(String) Método

Definición

Obtiene el tamaño de una cadena.

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

Parámetros

value
String

Platform::String

winrt::hstring

La cadena.

Devoluciones

UInt32

unsigned int

uint32_t

Tamaño de la cadena, en bytes.

Implementaciones

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

Se aplica a