语言

PrintQueueStream.Write(Byte[], Int32, Int32) 方法

定义

将字节序列写入流,并通过写入的字节数推进流中的读/写位置。

public:
 override void Write(cli::array <System::Byte> ^ buffer, int offset, int count);
[System.Security.SecurityCritical]
public override void Write(byte[] buffer, int offset, int count);
public override void Write(byte[] buffer, int offset, int count);
[<System.Security.SecurityCritical>]
override this.Write : byte[] * int * int -> unit
override this.Write : byte[] * int * int -> unit
Public Overrides Sub Write (buffer As Byte(), offset As Integer, count As Integer)

参数

buffer
Byte[]

要从中复制到流的字节数组。

offset
Int32

要开始将字节复制到流的位置中的 buffer 从零开始的字节偏移量。

count
Int32

要写入流的字节数。

特性

适用于