IDataWriter.WriteString(String) 方法

定义

将字符串值写入输出流。

public:
 unsigned int WriteString(Platform::String ^ value);
uint32_t WriteString(winrt::hstring const& value);
public uint WriteString(string value);
function writeString(value)
Public Function WriteString (value As String) As UInteger

参数

value
String

Platform::String

winrt::hstring

要写入的值。

返回

UInt32

unsigned int

uint32_t

字符串的长度。

适用于