Partilhar via


DataWriter.MeasureString(String) Método

Definição

Obtém o tamanho de uma cadeia de caracteres.

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

A cadeia de caracteres.

Retornos

UInt32

unsigned int

uint32_t

O tamanho da cadeia de caracteres, em bytes.

Implementações

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

Aplica-se a