Condividi tramite


DataWriter.MeasureString(String) Metodo

Definizione

Ottiene le dimensioni di una stringa.

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

Parametri

value
String

Platform::String

winrt::hstring

Stringa.

Restituisce

UInt32

unsigned int

uint32_t

Dimensione della stringa, in byte.

Implementazioni

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

Si applica a