Partager via


DataWriter.MeasureString(String) Méthode

Définition

Obtient la taille d’une chaîne.

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

Paramètres

value
String

Platform::String

winrt::hstring

Chaîne.

Retours

UInt32

unsigned int

uint32_t

Taille de la chaîne, en octets.

Implémente

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

S’applique à