Bagikan melalui


DataWriter.MeasureString(String) Metode

Definisi

Mendapatkan ukuran string.

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

Parameter

value
String

Platform::String

winrt::hstring

String.

Mengembalikan

UInt32

unsigned int

uint32_t

Ukuran string, dalam byte.

Penerapan

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

Berlaku untuk