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)

适用于