Bagikan melalui


IDataWriter.MeasureString(String) Metode

Definisi

Mendapatkan ukuran string.

public:
 unsigned int MeasureString(Platform::String ^ value);
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.

Berlaku untuk