共用方式為


DataReader.ReadString(UInt32) 方法

定義

從輸入資料流程讀取字串值。

public:
 virtual Platform::String ^ ReadString(unsigned int codeUnitCount) = ReadString;
winrt::hstring ReadString(uint32_t const& codeUnitCount);
public string ReadString(uint codeUnitCount);
function readString(codeUnitCount)
Public Function ReadString (codeUnitCount As UInteger) As String

參數

codeUnitCount
UInt32

unsigned int

uint32_t

字串的長度。

傳回

String

Platform::String

winrt::hstring

數值。

實作

M:Windows.Storage.Streams.IDataReader.ReadString(System.UInt32) M:Windows.Storage.Streams.IDataReader.ReadString(unsigned int) M:Windows.Storage.Streams.IDataReader.ReadString(uint32_t)

適用於