共用方式為


DataWriter.WriteUInt16(UInt16) 方法

定義

將 16 位不帶正負號的整數值寫入輸出資料流程。

public:
 virtual void WriteUInt16(unsigned short value) = WriteUInt16;
void WriteUInt16(uint16_t const& value);
public void WriteUInt16(ushort value);
function writeUInt16(value)
Public Sub WriteUInt16 (value As UShort)

參數

value
UInt16

unsigned short

uint16_t

數值。

實作

M:Windows.Storage.Streams.IDataWriter.WriteUInt16(System.UInt16) M:Windows.Storage.Streams.IDataWriter.WriteUInt16(unsigned short) M:Windows.Storage.Streams.IDataWriter.WriteUInt16(uint16_t)

適用於